Number.isNaN and Number.isFunction are ES6.

At the time of this commit, only Chrome and Firefox support it.