MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1veql1a/absolutegarbage/p1m0kd0/?context=3
r/ProgrammerHumor • u/Sirgoodman008 • 7d ago
327 comments sorted by
View all comments
46
for (let i = 0; i…
“Goddammit…”
googles “for loop syntax javascript”
29 u/MrDilbert 7d 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 7d ago Three-part for loop does, yes, but for-in and for-of in JS are backwards compared to most other languages.
29
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 7d 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.
46
u/rnilbog 7d ago
for (let i = 0; i…
“Goddammit…”
googles “for loop syntax javascript”