Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Question

Post Closed as "Duplicate" by Bergi javascript Users with the javascript badge or a synonym can single-handedly close questions as duplicates and reopen them as needed.
added 11 characters in body
Source Link

In Chrome,

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

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

whereas

Function.__proto__.__proto__.__proto__ = null

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...

In Chrome,

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

whereas

Function.__proto__.__proto__.__proto__ = 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...

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...

Source Link

Object.__proto__ returns a function. What does that mean?

In Chrome,

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

whereas

Function.__proto__.__proto__.__proto__ = 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...

lang-js

AltStyle によって変換されたページ (->オリジナル) /