In this video, I examine the concept of "Prototype" in the JavaScript programming language. I look at how you can attach methods to objects via prototype (for both objects of existing JS types or your own). I also discuss the "prototype chain" and prototypal inheritance.
Support this channel on Patreon: patreon.com/codingtrain
Send me your questions and coding challenges!: github.com/CodingTrain/Rainbow-Topics
Contact:
Twitter: shiffman
The Coding Train website: thecodingtrain.com/
Links discussed in this video:
My Steering Behaviors on the word "Train" video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4hA7G3gup-4.html
Douglas Crockford's video on prototypes(and many more subjects): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DwYPG6vreJg.html
Prototypes on MDN: developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype
Source Code for the all Video Lessons: github.com/CodingTrain/Rainbow-Code
p5.js: p5js.org/
Processing: processing.org
For More Coding Challenges: ru-vid.com/group/PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For an Intro to Programming using p5.js: ru-vid.com/group/PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Help us caption & translate this video!
amara.org/v/4XSk/
📄 Code of Conduct: github.com/CodingTrain/Code-of-Conduct
22 фев 2017