Find the index of the word, then use splice to remove it from your array.
var array = ['html', 'css', 'perl', 'c', 'java', 'javascript']
var index = array.indexOf('perl');
if (index > -1) {
array.splice(index, 1);
}
Find the index of the word, then use splice to remove it from your array.
var array = ['html', 'css', 'perl', 'c', 'java', 'javascript']
var index = array.indexOf('perl');
if (index > -1) {
array.splice(index, 1);
}