- 2
The semicolon part its complicated
5 Respostas
+ 3
what is hard about it? every statement has to end with semicolon, that is how the compiler know where a statement starts and where it ends.
if you don't like it use python.
or assembly where semicolon is used for comments.
+ 3
You can also use prettier extensions for vscode. May this extension also available for other text-editors. Prettier extension will add semicolons for you when you format your document. If you use your prettier settings as format on save. It will add semicolon to your documents. Where needed.
+ 2
what are you talking about?
+ 2
Ok thanks
+ 1
Is a must you end with a semicolon