Redirect the prototype chain, zha result different?
let p={};
P. __proto__=Array. The prototype;
P. lice.//? Slice () {} [native code], the results of normal
Zha so that it no good?
let o=Object. The create (null).
O. prototype; __proto__=Array.
Grown lice.//undefined.
CodePudding user response:
{} with the Object. The create (null) created the Object is not the same, the latter is no attributes,
CodePudding user response:
Not even [[prototype]],,,
CodePudding user response: