ArrayList.js
function (predicate, context) {
    var list = new ArrayList;
    return list.add(_.filter(this, predicate, context));
  }
function (predicate, context) {
    var list = new ArrayList;
    return list.add(_.filter(this, predicate, context));
  }
function ( predicate , context ) { var list = new ArrayList ; return list . add ( _ . filter ( this , predicate , context ) ) ; }
Returns a new list with the occurrences that passes the test

@param predicate
@param context
@returns {ArrayList}
Returns a new list with the occurrences that passes the test