code: function find(list, predicate) { // eslint-disable-line consistent-return
    for (var i = 0, length = list.length, item; i < length; i++) {
      item = list[i];
      if (predicate(item)) {
        return item;
      }
    }
  }
docs: Find an item in list.