javascript remove array element by value

 

 

 

 

In JavaScript, by using pop() method we can remove the last element of an array.There is a function myFunction() in the