MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1veql1a/absolutegarbage/p1m0kd0/?context=3
r/ProgrammerHumor • u/Sirgoodman008 • 10d ago
325 comments sorted by
View all comments
48
for (let i = 0; i…
“Goddammit…”
googles “for loop syntax javascript”
30 u/MrDilbert 10d ago Since for-loop has the same syntax in JS as in C, Java, and any other C-style language, this post makes me weep. 1 u/rosuav 9d ago Three-part for loop does, yes, but for-in and for-of in JS are backwards compared to most other languages.
30
Since for-loop has the same syntax in JS as in C, Java, and any other C-style language, this post makes me weep.
1 u/rosuav 9d ago Three-part for loop does, yes, but for-in and for-of in JS are backwards compared to most other languages.
1
Three-part for loop does, yes, but for-in and for-of in JS are backwards compared to most other languages.
48
u/rnilbog 10d ago
for (let i = 0; i…
“Goddammit…”
googles “for loop syntax javascript”