2021年4月7日星期三

Object.__proto__ returns a function. What does that mean? [duplicate]

In Chrome,

Object.__proto__ returns ƒ () { [native code] }

whereas

Function.__proto__.__proto__.__proto__ returns null

Also, typeof Object is Function.

If type of Object is Function, Isn't everything in JavaScript a function?

I'm a newbie, Please help me out...

https://stackoverflow.com/questions/66996311/object-proto-returns-a-function-what-does-that-mean April 08, 2021 at 09:50AM

没有评论:

发表评论