SASneha Amruthinsneha-amruth.hashnode.dev·Jul 10, 2021 · 3 min readMost useful JavaScript Array MethodsWe underestimate what the understanding of basic array methods can do. It saves us a lot of time when building projects. At least, I feel that way, because most of the features that you build in any project boil down to manipulating the array of valu...00
SASneha Amruthinsneha-amruth.hashnode.dev·Jul 10, 2021 · 4 min readLet's set 'this' ourselvesIn my previous blog, I've discussed the different ways 'this' value is set depending on the way we invoke it. To recap, If we invoke it on a constructor function - it gets set to the newly created object If we invoke it on a method - it gets set ...00
SASneha Amruthinsneha-amruth.hashnode.dev·Jul 10, 2021 · 2 min readLet's talk about 'this''this' keyword is often the most confusing and mis-understood concept in JavaScript. In this blog, I'll break down the different behaviours of this keyword given the different scenarios. 'this' in constructor functions When invoking a constructor fu...01P