Shirshendu's Blog

Shirshendu's Blog

All you need to know to understand JavaScript’s Prototype

Apr 3, 201913 min read

Most of the time, JavaScript’s prototype confuses people who have just started to learn JavaScript — especially if they’re from a C++ or Java background. In JavaScript, inheritance works a bit differently compared to C++ or Java. JavaScript inheritan...

All you need to know to understand JavaScript’s Prototype
How to declare JavaScript variables: a look at let, const, and var