Source code
Revision control
Copy as Markdown
Other Tools
load(libdir + "immutable-prototype.js");
c = Number.prototype;
function f(o) {
if (globalPrototypeChainIsMutable() || o !== Object.prototype)
o.__proto__ = null
for (x in o) {}
}
for (i = 0; i < 9; i++) {
f(c)
if (globalPrototypeChainIsMutable())
Object.prototype.__proto__ = c;
for (x in Object.prototype)
continue;
f(Math.__proto__);
}