EDITABLE CODE:
LiveDemo:jQuery - Filtering an Array
Note:It returns a newly constructed, filtered array.