isNaN not working ? anymore, or what am I doing wrong?


#1

Hi guys!

Well today I used the function isNaN() to write some code for gold rush…
Everything worked even isNaN()…
But now suddenly isNaN stopped working ?!
Please try it out yourself, I for myself rechecked 10 times, but maybe you see my error at a glance.
thank you guys, please help :*(

greetz c4tti

START EDIT 1
I googled for it and integrated now my own isNaN function, it looks like its working again.
this.myisNaN = function(obj) {
// NaN is the only value for which === is not reflexive.
return obj !== obj;
};

END EDIT 1


#2

Sorry about that! I’ve been hacking on the builtin protection all day today and didn’t realize I’d inadvertently protected some of the builtins a little too well. Thanks for the heads up. I’m deploying the fix now.