Beginer Frontend Developer
I am an engineer and i work in power station. But i want to learn new spacialization - frontend development
function getParticipants(handshakes){
let handshakes_i = 0;
let k = 1;
if (+handshakes == handshakes_i) return k;
while (true) {
k+=1;
for (let j = 0; j = k-1; j++){
handshakes_i += 1;
if (+handshakes == handshakes_i) return k;
}
}
}