Рет қаралды 257,193
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: / codingtrain
Send me your questions and coding challenges!: github.com/CodingTrain/Rainbo...
Contact:
Twitter: / shiffman
The Coding Train website: thecodingtrain.com/
Links discussed in this video:
My Steering Behaviors on the word "Train" video: • Coding Challenge #59: ...
Douglas Crockford's video on prototypes(and many more subjects): • Douglas Crockford: Adv...
Prototypes on MDN: developer.mozilla.org/en/docs...
Source Code for the all Video Lessons: github.com/CodingTrain/Rainbo...
p5.js: p5js.org/
Processing: processing.org
For More Coding Challenges: • Coding Challenges
For an Intro to Programming using p5.js: • Start learning here!
Help us caption & translate this video!
amara.org/v/4XSk/
📄 Code of Conduct: github.com/CodingTrain/Code-o...