code: function first (array, filter) {
    var i = 0;
    var length = array.length;
    var item;
    for (; i < length; i ++) {
      item = array[i];
      if (filter(item)) {
        return item;
      }
    }
  
    return null;
  }
docs: Returns the first matched array item