Is it possible to delete an item from a JavaScript array?
Given an array of numbers:
var ary = ['three', 'seven', 'eleven'];
I would like to do something like:
removeItem('seven', ary);
I looked into splice(), however, it just removes items by position number, when I need something that removes items by value.