Skip to content

Instantly share code, notes, and snippets.

@haintwork
haintwork / js-best-practices.md
Last active June 12, 2017 07:55 — forked from hemanth/js-best-practices.md
JavaScript best practices

JavaScript Best Practices

Code conventions

Closing/opening brackets

Although this isn't a problem in other languages, because of semicolon insertion, there could be problems if you don't place the bracket on the opening line:

// no:
function()
{