Hacker News new | ask | show | jobs
by twic 1917 days ago
The blocks here act exactly the same as any other blocks, like the ones you write for loops and ifs etc. So i wouldn't exactly call the consequences "unexpected".
1 comments

I can't recall right now but I remember having errors that would not happen inside a normal for loop block. And I was using let/const not var.