How to remove particular value from jquery array?

By Hardik Savani | March 23, 2016 | | 854 Viewer | Category : Javascript jQuery

When i was working on my code PHP project, at that time i need to remove specific items value from my javascript array. i did google search and solve that but i would like to share in my site how to remove value from javascript array. so, let's see how to use:


var languages = ['php', 'laravel', '.net', 'java', 'c#', 'javascript']

var deleteLanguage = 'laravel';

languages = jQuery.grep(languages, function(value) {

return value != deleteLanguage;