+ 1

Why this code's answer is 3 ?

function sum(i){ return ++i; } for(var i=0;i<=1;i++){} document.write(sum(i));

1st Aug 2020, 7:01 PM
ILLUMINATIE
ILLUMINATIE - avatar
4 Answers
+ 2
~ swim ~ thank you very much!, Am appreciate what you do for me😊😊😊
1st Aug 2020, 7:20 PM
ILLUMINATIE
ILLUMINATIE - avatar