fix code examples + fix typo

The point of this example is that `Number.isNaN` is not the same as `<global>.isNaN`.  See https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isnan, which does not invoke `ToNumber` conversion.