Array values method – Array.values() method is another cool concept that actually return a new array iterator object that contains all the values of indexes. An important point to be…
Array flat method – Array.flat([depth]) allows us to flatten a nested array up to defined depth in an array flat method. So, an array that stores multiple types of elements…
Question – In this quiz, you will need to find out the output of the value variable. which is declared using let keyword and IIFE return value assigned to it…
Object.assign() Method – Object.assign() is an object assign method which copies all key-value pairs from the one or more source object to the target object and returns a new object….
Reverse String – A reverse string is a concept for reverse a string and converts to a new string. There is no built-in method in String, which can achieve this…
Nested Array Reference – An array is a reference type that means it pass a value by reference. If anything happens to the original array or copied array, changed reflected…
JavaScript Map Object – Javascript map object is a collection of keyed data items, just like an Object. But the main difference is that Map allows keys of any type. Question – Here,…