I was coding away in JavaScript today and Kept getting errors... Then it dawned on me...

  • 1
    Closing curly braces also can trip you up in Java/C#. Putting just one extra one can really throw off the compiler.
  • 0
    @byogdc Just as bad! That's why I prefer Python 👍
  • 0
    Hmm, I don't use ; in Javascript and have formatter set up so that it removes them if there's any. How exactly did you run into any problems? xD ; is not mandatory. There are some rare rare cases where it matters.
  • 0
    @DanijelH I use it with Alexa Skills Kit and Lambda , It seems to always break when there is missing ;...
Add Comment