Using or not using semicolons in Javascript

Asked

Viewed 49 times

1

I have been a programmer for a short time and have now started using many frameworks and Javascript libraries. As I have greater knowledge in Java bring some language habits like using the ;, I am used to using, but I see that most programmers do not use, so I was in doubt: is it right or wrong to use? By convention is it used or not? I particularly like to use.

  • 3

    "the more I see that most programmers do not use" I don’t know where you’re seeing it, the ones I know use it, and it’s not a few... it seems to me a perception of you. I always use and make the code clean and clear

  • 1

    Complementing the duplicate suggested above: https://answall.com/q/432960/112052

  • Damn, I was answering, now I’m gonna have to answer there :D Mine will be at the end forever (https://answall.com/a/447654/101, it is a little more suitable for this context from here, I cut the part that I contested the statement made in the question because there does not make sense, but was in the same line of @Ricardopunctul).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.