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.
Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbo…
p5.js: https://p5js.org/
Processing: https://processing.org
Subscribe: https://www.youtube.com/c/TheCodingTrain/featured
#js #javascript