From the mozilla documentation
var o = new Object();
o.[[Prototype]] = Foo.prototype;
Foo.call(o);
What is [[Prototype]]
exactly? I tried to find a specification for that in the documentation itself, but it's just thrown at you like that.
From the mozilla documentation
var o = new Object();
o.[[Prototype]] = Foo.prototype;
Foo.call(o);
What is [[Prototype]]
exactly? I tried to find a specification for that in the documentation itself, but it's just thrown at you like that.