JS has the most ugliest syntax . No offence great language . But do we still need semi colons, braces, old style loop declaration etc.. ??
Well, js is an old language and is c-like, so blame that ig
But you can leave out semicolons in most places and use functional loops
Bruh, stop using obviously outdated tutorials and look around: we have ECMAScript 2016+, and it's better JavaScript you'll ever see (TypeScript takes my cake though 😉). Semicolons never were mandatory, loop declaration is less verbose.
do we still need semi colons, braces, old style loop declaration
No we don't, semi colons are optional and there are better loop declarations in modern ecmascript.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
JS has the most ugliest syntax . No offence great language . But do we still need semi colons, braces, old style loop declaration etc.. ??
Well, js is an old language and is c-like, so blame that ig
But you can leave out semicolons in most places and use functional loops
Bruh, stop using obviously outdated tutorials and look around: we have ECMAScript 2016+, and it's better JavaScript you'll ever see (TypeScript takes my cake though 😉). Semicolons never were mandatory, loop declaration is less verbose.
No we don't, semi colons are optional and there are better loop declarations in modern ecmascript.