“Classes vs. prototypal inheritance in vanilla JS - Go Make Things”
Good overview. I’d only add that you need to use classes if you want to subclass built-ins, such as when you make a custom element.
... works as a web developer in Hveragerði, Iceland, and writes about the web, digital publishing, and web/product development
These are his notes
“Classes vs. prototypal inheritance in vanilla JS - Go Make Things”
Good overview. I’d only add that you need to use classes if you want to subclass built-ins, such as when you make a custom element.