In an attempt to better understand the prototype behind Javascript, I stumbled on the following, which I could not understand Am far away
I think the functions are a first class object, but I do not find that object function. Prototype
After this property is established on Function.prototype this property Why does he receive Foo = 'bar'; The object.foo // object now has this property and returns 'bar' object.fu === function.prototype.fu // returns true
object is a function, the object type == 'function' is true so you can edit the function. If the prototype specifies a property of , it will also give the property to object . (In the Property Series.)
Comments
Post a Comment