Array Method In Javascript
Jan 5, 2023 · 2 min read · POP(): pop() => method removes last element from the array=> example- const fruits = ["Banana", "Orange", "Apple", "Mango"];fruits.pop(); PUSH()=> push method add new element to an array at the end. example: const fruits = ["Banana", "Orange", "Apple...
Join discussion































