3 ms·
Languages should either (1) treat newline as a statement delimiter (as in Python) or (2) not do so and instead treat some other character (e.g. ";") as a statem
by cabalamat 15y ago
Languages should either (1) treat newline as a statement delimiter (as in Python) or (2) not do so and instead treat some other character (e.g. ";") as a statement delimiter (as in C etc).
JavaScript falls between two stools and that's bound to cause problems.