3 ms·
I honestly can't remember a recent time I had to start a line with a ( or a [. I don't really write IIFEs since let and const. I'm sure the outputs from babel/
by dvlsg 8y ago
I honestly can't remember a recent time I had to start a line with a ( or a [.
I don't really write IIFEs since let and const. I'm sure the outputs from babel/typescript/etc use them, but I don't really need to write them myself, now that we have proper block scoping.
And if I want to declare an array and immediately iterate over it, I just put it in a variable first. That gives it a name, too, which tends to improve readability anyways.
I work with Javascript / Typescript projects on both sides of the argument, and I have to say not using semicolons never seems to cause any problems. Especially not with auto formatting / linters around.