Elements of JavaScript Style

medium.com

In 1920, “The Elements of Style” by William Strunk Jr. was published, which set guidelines for English language style that have lasted the test of time. You can improve your code by applying similar standards to your code style. The following are guidelines, not immutable laws.