SGsreedhar gandhaminsreedhar.hashnode.dev·Aug 4, 2022 · 1 min readValue of 'this' in JavaScriptTHIS : this refers to whatever the Object occupies in the space that this is written in. So, this has different object values depending up on the scope it is mentioned in. Let us discuss this value in : Global Scope ES5 functions ES6 functions Ob...00
SGsreedhar gandhaminsreedhar.hashnode.dev·Aug 4, 2022 · 2 min readJS Arrow Functions for Lazy CodersIf you are an avid programmer, you certainly know there will be more than one solution to the same problem. In the same notion, JS allows us to write functions in several ways, such as : Function Declarations Function Expressions Arrow Functions ...00