From Calculatorian to Calculatorian (tips and tricks)

For creating better calculators

For an easier life

Use sqrt(x^2) instead of abs(2)

Names of variables: camelCasing, no spaces, no numbers(at the begining), no hyphens

dot notation vs bracket notation

Quotes around keys => plsNope

Ternary operator to define versions of strings in one command

implicit conditions: (a || b)

isNaN vs Number.isNaN vs == null/undefined/NaN (mention)

numbers/strings/functions as booleans

Mistakes, is not an if, it’s a when

isNaN vs Number.isNaN vs == null/undefined/NaN (explanation) stranger values + conditions == Magic (good or bad is your choice)

Don’t do unless in peril