Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EquationReturns
 == 
 if (x ==1)true if x = 1;
 if (x ==1)true if x = '"1'";
 if (x ==0)true if x = 0;
  if (x ==0)true if x = null;
  if (x ==0)true if x = undefined;
 === 
 if (x ===1) true if x = 1;
 if (x ===1) false if x = "'1'";
 if (x ===0) true if x = 0;
 if (x ===0) false if x = null;
 if (x ===0) false if x = undefined;

...