Talk:JavaScript/Notes/Function
Jump to navigation
Jump to search
Uppercase function name indicates a constructor (just a convention, not interpreted). Every function is an instance of the Object function. Object has .prototype property, therefor every function has
Internal prototype and protoype property are not the same thing.
Prototype is a property of obj
All Functions have a Call. All User-Defined Functions have a Construct. Class automatically becomes reference to Object on new instance of UD Fx.
Reference: Something is a something of the variable environment.
All about why [this] would be undefined.
Call is internal, automatically invoked, not explicitly called. s.move invokes Call internally.
When evoked within the context of an [this] will All instances of an o