0 votes
in JavaScript by

What is the output for the following 

function test(x) { 

while(x < 5) 

{ x++; } 

return x; } 

alert(test(2)); 

1 Answer

0 votes
by
five (5)
...