VSVaishnav Shyaminvaishnav-sh.hashnode.dev·Jan 4, 2022 · 3 min readReferences vs Values in JavaScriptPreface Different data types are passed either by their value or by their reference. Today, we will look at what this means in JavaScript and how it affects our code. This can be a reason for a lot of bugs in JS and a deeper dive into this will let u...00
VSVaishnav Shyaminvaishnav-sh.hashnode.dev·Dec 23, 2021 · 3 min readScoping in JavaScriptIntroduction In this article we will cover one of the most important concepts in JavaScript, that is, ‘scope’. Scope defines the availability of variables and introduces the idea of local and global variables. Understanding scope will allow you to re...00