Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
JZumun
· 6y ago · 0 comments
> for (let elem : arr) { ... }
Do you mean:
for (let elem of arr) { ... }
Unless this is a joke about writing in Java & C++ (for which the colon syntax is valid) instead of javascript.
Comments
No comments yet.
Better HN