V8 just rolled a change into Canary yesterday that implements the new ES6
semantics for Number.prototype (and Boolean.prototype) being ordinary
objects. Unfortunately, that seems to break the web. In particular
http://jsfiddle.net/#run fails to load now.
What I see happening on that page is a TypeError "Number.prototype.valueOf
is not generic" being thrown in this function (probably part of moo tools):
Number.prototype.$family = function(){
return isFinite(this) ? 'number' : 'null';
}.hide();
after being invoked on Number.prototype.
AFAICS, that leaves only one option: backing out of this spec change.
(See https://code.google.com/p/chromium/issues/detail?id=476437 for the
bug.)
/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss