UNPKG

indexed

Version:

database-like indexed array that always returns a new array

10 lines (9 loc) 479 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var BREAK = exports.BREAK = Symbol('BREAK'); var SKIP = exports.SKIP = Symbol('SKIP'); var COLLECTIONS_KEY = exports.COLLECTIONS_KEY = Symbol('COLLECTIONS_KEY'); var arrProto = exports.arrProto = Array.prototype; var regularMethods = exports.regularMethods = ['every', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'reduce', 'reduceRight', 'toLocaleString', 'toSource', 'toString', 'values'];