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)
Make it a one-liner with arrow function:
ar = ar.filter(i => i > 3);