JavaScript Array and it’s methods
Javascript Array.push() Method: Adding Element at the end of an Array. As arrays in JavaScript are mutable objects, we can easily add or remove elements from the Array. And it dynamically changes as we modify the elements from the array.
JavaScript Array.unshift() Method: This method is used to add elements to the front of an Array.
JavaScript Array.pop() Method: This method is used to remove elements from the end of an array.
JavaScript Array.shift() Method: This method is used to remove elements from the beginning of an array
JavaScript Array.splice() Method: This method is used for the Insertion and Removal of elements in between an Array
JavaScriptArray.slice()Method: Returns a part of the array from beginIndex to endIndex
JavaScript Array.concat() Method: Adds new elements (from arr) into the array at the end of the array