All you need to know to understand JavaScript’s PrototypeMost 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...Apr 3, 2019 · 13 min readblog.shirshendu.dev
All you need to know to understand JavaScript’s PrototypeMost 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...Apr 3, 2019 · 13 min readfreecodecamp.org
How to declare JavaScript variables: a look at let, const, and varWith the old JavaScript, we had only one way to declare a variable, and that was with var, like var x = 10. It will create a variable called x and assign a value 10 to it. Now with modern ES6 JavaScript, we have 3 different ways to declare a variable...Mar 11, 2019 · 5 min readblog.shirshendu.dev
How to declare JavaScript variables: a look at let, const, and varWith the old JavaScript, we had only one way to declare a variable, and that was with var, like var x = 10. It will create a variable called x and assign a value 10 to it. Now with modern ES6 JavaScript, we have 3 different ways to declare a variable...Mar 11, 2019 · 5 min readfreecodecamp.org