JavaScript best practice summary – Jonathan Mills from Pluralsight

Syntax – consistency is the king. Use semicolons. Use Linting. e.g. ESLint or JSHint Curly braces should start in the same line of command, which is different from C#, etc. Equality. Use === whenever possible. Write variable, function, caller in order. Behaviors – use strict mode. Use var if it’s not for a global variable… Continue reading JavaScript best practice summary – Jonathan Mills from Pluralsight