JavaScript Prototypes and Object Creation

added by JavaScript Kicks
8/29/2018 8:28:23 AM

356 Views

JavaScript uses prototypal inheritance for all of its object creation. One way to think of objects in JavaScript is that they are like a collection of key value pairs. In JavaScript an object is simply an instantiation of a function that produces a variable using these key and values (more on object constructors).


0 comments