While learning prototypical inheritance.I have seen the prototype referring to an Array, an Object or a Empty Function.
(https://i.stack.imgur.com/cdiky.png)
I am new to Java Script programming (prototypical inheritance world) and when debugging SAPUI5 framework i have noticed the prototype is pointing to a constructor.
(https://i.stack.imgur.com/nwiKT.png)
Could you please explain me in which scenario a [[Prototype]]
points to a constructor. Can a [[Prototype]]
points to any other apart from these 4 ( Array, Object, Empty Function and Constructor )