Data types

 Null

var gifts = {'first': 'partridge'};
assert(gifts['fifth'] == null);

NaN

// Check for NaN.
var iMeantToDoThis = 0 / 0;
assert(iMeantToDoThis.isNaN);

Comments