in Technology by (1.9m points)

What is the output for the following
function test(x) {
while(x < 5)
{ x++; }
return x; }
alert(test(2));
A) 6
B) 3
C) 2
D) 5

#insurance and Loans 

1 Answer

0 votes
by (1.9m points)

Answer:-5

#insurance 

Related questions

0 votes
asked Oct 8, 2020 in Technology by JackTerrance (1.9m points)
0 votes
asked Feb 26, 2021 in Technology by JackTerrance (1.9m points)
...