Please help explain the questions in this prototype chain diagram.

What"s the difference between function Foo () and function Object () and function Function () in the

figure?

Jun.22,2021

first, Object and Function

compared with the figure above, Function.prototy inherits from Object.prototy,Object and Function both inherits from Function.prototy,. That's all the relationship is.

and the Foo function is a function declared with the Function function as the constructor and Function.prototy as the prototype object

Menu