loading...

Discussion on: JavaScript Quiz

Collapse
kauresss profile image
Kauress
  1. false [checking for type of data and value of data]
  2. true [because both are of the same type i.e. falsy]
  3. "24" [ coercion rules, concatenation takes place because of + operator]
  4. -1 [ -1, subtraction takes place as - operator is used on numbers not on strings]
  5. "2" [ again string concatenation}
  6. Not sure, tell us!
Collapse
seye profile image
˗ˏˋ Seye Kuyinuˊˎ˗‏

6 uses + as a short form for type conversion