var a = {valueOf: function(){ if( ! this.i ) this.i = 0; this.i++; return this.i%2 ? NaN : 1; }} alert(isNaN(a) === isNaN(+a));
window.isNaN = function(){return false}
window.isNaN = function() { return Math.random() > 0.5; }
window.isNaN = function(){return false} alert(isNaN('2') === isNaN(+'2'));
window.isNaN = function(){return NaN} alert(isNaN('2') === isNaN(+'2'));