+ 3

Pls take a glimpse of this JS code ( 7 )😄

What is the output of this code? var count = 0; for (var i=0;i<3;i++){ for(var j=0;j<=2;j++){ count++; } } document.write(count);

7th Mar 2018, 8:36 PM
Eros boulay
Eros boulay - avatar
10 Réponses
+ 3
thanks菜子林, but I don't know how to get this answer 🙀
7th Mar 2018, 8:53 PM
Eros boulay
Eros boulay - avatar
+ 3
@Jonathan Carver You're too crucial, I'm hurted by your words...🤕
7th Mar 2018, 8:54 PM
Eros boulay
Eros boulay - avatar
+ 3
Thank you very much @菜子林
7th Mar 2018, 9:02 PM
Eros boulay
Eros boulay - avatar
+ 1
Yeah, you're hurted by me trying to not get your post deleted.
7th Mar 2018, 8:55 PM
Dread
Dread - avatar
+ 1
I was thinking the same thing. 😂
7th Mar 2018, 8:59 PM
Dread
Dread - avatar
0
The output is... Make a Quiz Factory question of this, and don't post it on the forum.
7th Mar 2018, 8:47 PM
Dread
Dread - avatar
0
It seemed like a Quiz Factory type of question to me.
7th Mar 2018, 9:02 PM
Dread
Dread - avatar
0
True, true. To me though, whenever someone asks: "What is the output of this code," versus "Hey, I need help with this code," the first one sounds more like a challenge question and the second one sounds like the person needs genuine help. So, the line is blurred between the two to me.
7th Mar 2018, 9:15 PM
Dread
Dread - avatar