UnderStanding the Array method in JavaScript
1.push( ) Method :
The push ( ) method of Array instance adds the specified elements to the end of an array and returns the length of the array.
Example
let fruits = ["apple", "banana"];
fruits.push("orange");
output :
["apple", "banana", "orange"]
2...
shivraj9392.hashnode.dev3 min read