I was wondering how I\'d go about implementing a method in javascript that removes all elements of an array that clear a certain condition. (Preferably without using jQuery)
I love these kinds of questions and just a different version from me too... :)
Array.prototype.removeIf = function(expression) { var res = []; for(var idx=0; idx 3; }