code: function find(array, predicate) {
          for (var i = 0, len = array.length; i < len; i++) {
              var value = array[i];
              if (predicate(value, i)) {
                  return value;
              }
          }
          return undefined;
      }
docs: Works like Array.prototype.find, returning `undefined` if no element satisfying the predicate is found.