Author: ShairyPortfolio
-

-

-

-

JS Array Methods
Pop- This method is used to remove the last element of the array. Syntax Array.pop() let Courses = [“Php”, “java”, “c”]; alert( Courses.pop() ); alert( Courses); Push- This method is used to insert an element to the end of array. Syntax Array.push(‘element’) let Courses = [“Php”, “java”, “c”]; Courses.push(“c++”) ; alert( Courses); Shift- This method…