DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Map & sets in JavaScript3d ago · 4 min read · befro these javascript only hava objects -> key-value storage Arrays -> ordered list Problem with object at that time objects were never design as pure key value database issues: Keys are always Join discussion
DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Array Flatten in JavaScript3d ago · 4 min read · what are nested arrays a nested array is simply an array inside another array eg let arr = [1, 2, [3, 4], 5] we can go more deep insode of that let arr = [1, [2, [3, [4]]]]; This is called deeply neJoin discussion
DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Spread vs Rest Operators in JavaScript3d ago · 5 min read · what does spread Operator does spread meas expand , it takes something like an array or object and spread its contents out individually const arr = [1, 2, 3]; console.log(...arr); output: 1 2 3 yoJoin discussion
DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Destructuring in JavaScript4d ago · 4 min read · What Destructing means pulling out a values out of arrays /object and storing them in variable in a shorter way for array without destructuring const arr = [10, 20, 30]; const a = arr[0]; const b = aJoin discussion
DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Understanding the `this` Keyword in JavaScript4d ago · 5 min read · what is `this` this is just a reference ( a pointer) to the object that is calling a function people misconception that this refer to where the function is written this is dead wrong js does not care Join discussion