JavaScript. Prototypes

Home » Tutorials » JavaScript » JavaScript. Prototypes
In this lesson we’ll discuss prototypes in javascript. Prototype is possibility of javascript object to inherit properties and methods from another object. In tutorial we consider two ways of object prototypes
If you print object in console, including empty object, you will see, every object has __proto__ property. With this property object prototype indicates
__proto__ property supports beginning with IE 10, i.e it is not crossbrowser.
That’s why in real projects prototype property uses. Usually it works with constructor function. You will need to use prototype property in your projects.
In the end of this lesson I suggested to make order from me to get your subdomain in my server. You need to write me on social network or send form on my site. After you will get subdomain http://yoursurname.codetogether.ru/

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

Pin It on Pinterest

Share This