Why JavaScript Classes Are Actually Functions | Prototypal Inheritance Explained

Опубликовано: 01 Январь 2025
на канале: Conner Ardman
20,122
963

While JavaScript fully supports object oriented programming, it doesn't work how you might be used to. Classes are simply syntactic sugar around the prototypical inheritance system based on function constructors. Here's a quick breakdown on how it all works.


Prepping for your frontend interviews? Use code "conner" for a discount on my course FrontendExpert:
https://www.frontendexpert.io/conner


Socials:
TikTok:   / connerardman  
LinkedIn:   / connerardman