jquery/jquery — pull request #1350 by ameyms (2013-09-04 19:04:31+00:00)
Title: Optimize $.grep in 2.x by using native Array.filter method

Since jQuery 2.x supports only ES5 browsers, we could safely use the native `Array.prototype.filter` method inside jQuery.grep in order to take advantage of browser level optimizations

Unit tests included in PR #1345