+ 3
Why i need to put this: ; to the end of a code?
pls help me
5 ответов
+ 6
You don't need to but its good practice, some languages like java require it.
+ 6
It's like saying thank you sir... may not be necessary but a good practice
+ 2
// In JavaScript, you are not required to use a semicolon in the end of the line of code.
+ 2
Thank you everybody!
0
I guess Parsers are the reason to not avoid semicolon.