UNPKG

array.prototype.tospliced

Version:

An ESnext spec-compliant `Array.prototype.toSpliced` shim/polyfill/replacement that works as far down as ES3.

33 lines (29 loc) 481 B
{ "root": true, "extends": "@ljharb", "rules": { "id-length": "off", "new-cap": ["error", { "capIsNewExceptions": [ "ArrayCreate", "CreateDataPropertyOrThrow", "Get", "LengthOfArrayLike", "ToIntegerOrInfinity", "ToObject", "ToString", ], }], }, "overrides": [ { "files": "test/tests.js", "rules": { "func-style": "off", "max-len": "off", "max-lines-per-function": "off", "max-params": "off", }, }, ], }