AKAshish Kumar Sainiinblog.ashishkumarsaini.dev·May 2 · 3 min readDestructuring in JavaScriptJavaScript gives us a feature called destructuring. It makes working with arrays and objects much cleaner and less repetitive. If you have ever written code like this: const user = { name: "Ashish" ag00
AKAshish Kumar Sainiinblog.ashishkumarsaini.dev·Mar 26 · 3 min readArray Flatten in JavascriptYou have read in the previous blog on datatypes that an array is a non-primitive data type that can contain various data types. But have you ever wondered what would happen if an array contained anoth00