O'Reilly logo
  • Nivan Morgan thinks this is interesting:

Note double !

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

double !! so as not to negate x, to return true for x