News for hackers. Stuff that matters.
Re:Fundamentals of Optimal Code Style by twic on Friday March 26, 2021 @05:43AM (#26590268)
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".
Re:Fundamentals of Optimal Code Style by danlugo92 on Sunday April 04, 2021 @12:56PM (#26691015)
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.