DPDushyant Pratap Singhindushyantxcode.hashnode.dev00String Polyfills and Common Interview Methods in JavaScriptApr 28 · 6 min read · String string is just a sequencce of character properties Strings are immutable Strings behave like arrays (but they’re NOT arrays) Strings are objects under the hood way to create string let a =Join discussion
DPDushyant Pratap Singhindushyantxcode.hashnode.dev00Map & sets in JavaScriptApr 21 · 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 JavaScriptApr 21 · 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 JavaScriptApr 20 · 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 JavaScriptApr 20 · 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