0 votes
281 views
in Technology by (228k points)

What is the output for the following code
(function f(){
function f(){
return 1; }
return f();
function f()
{ return 2; } })();
a) NaN
b) 1
c) 2
d) Error

1 Answer

0 votes
by (228k points)
Answer:-2




#javascript #carinsurance #health-insurance #medical-insurance

Related questions

0 votes
1 answer 66 views
0 votes
1 answer 41 views
...