There are four type of array method in JavaScript like Add/Remove Items, Searching in Array, Transform the array, Iterate over elements, Additional Add/Remove Items push(…items) Adds items to the end. Example: const fruits = [“Banana”, “Orange”, “Apple”, “Mango”];
fruits.push(“Kiwi”); pos() Extract an item from the end. Example: const fruits =…