a=[]的原型是什么,原型的原型是什么
a=[]
var a = []; var protoOfA = Object.getPrototypeOf(a); console.log(protoOfA === Array.prototype) // true var protoOfProtoOfA = Object.getPrototypeOf(protoOfA); console.log(protoOfProtoOfA === Object.prototype) // true
548k questions
547k answers
4 comments
86.3k users