0
unexpected identifier
I was trying to print out 0-9 using a for loop but am getting an unexpected identifier error... I don't know why... console.log ("hello world!!"); var num=9; console.log (++num); for (var i = 0; i < 10; i++) { console.log(i); }
5 Antworten
+ 3
Check again.. It works fine..
If not share your code link..
+ 1
Check out this......
I've fixed some codes
https://code.sololearn.com/Wa7RAWBWGT3g/?ref=app
0
I didn't write the code on sololearn
But I'll send it though
0
I wrote it on Code Editor
0
Above code working fine. May you have any syntax error or anything missing tokens from the above.. Look at closely again...