UNPKG

bot18

Version:

A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f

27 lines (19 loc) 579 B
'use strict'; var define = require('define-properties'); var ES = require('es-abstract/es6'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var shim = require('./shim'); var slice = Array.prototype.slice; var polyfill = getPolyfill(); var boundShim = function findIndex(array, predicate) { ES.RequireObjectCoercible(array); var args = slice.call(arguments, 1); return polyfill.apply(array, args); }; define(boundShim, { implementation: implementation, getPolyfill: getPolyfill, shim: shim }); module.exports = boundShim;