Prototypes in Javascript
Feb 19, 2025 · 3 min read · in simple word prototypes are the mechanism by which JavaScript objects inherit features from one another. understand with an example const person = { greet: function() { return "Hello!"; } }; const student = Object.create(person); console.l...
Join discussion


