Javascript Array Filtering

less than 1 minute read

A simple thing, but it's the simple things that I often forget.

Javascript 1.6 introduced Array.prototype.filter which can be used as follows.  The grep function from jQuery is also referenced for good measure

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...