4 ms·
The JavaScript Block Statement
- galaxyLogic 4y agoI don't quite get what is wrong with saying: thing2 ... That is shorter than adding a { and a }. This feels almost like a solution in search of a problem? Although I do agree it is nice to know that you can use blocks without 'if' or 'else' or 'while'. It feels like a curiosity though.