Answers for "Remove item from array using jquery"

0

Remove item from array using jquery

var index = array.indexOf(item);
if (index !== -1) {
  array.splice(index, 1);
}
Posted by: Guest on October-21-2021

Code answers related to "Remove item from array using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language