Class, Factory, and Object Prototypes in JavaScript
Published in
9 min readJun 21, 2020
Object prototypical inheritance is at the heart of JavaScript. Building on what we learned in the previous post about functions, this post goes deeper into functions and the prototypical inheritance. Specifically, we will take a look at the Class function and Factory function.