'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function node_find(callback, that) {
  let index = -1;
  for (const node of this) {
    if (callback.call(that, node, ++index, this)) {
      return node;
    }
  }
}

exports.default = node_find;
