summaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/_to-index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/modules/_to-index.js')
-rw-r--r--node_modules/core-js/modules/_to-index.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/node_modules/core-js/modules/_to-index.js b/node_modules/core-js/modules/_to-index.js
deleted file mode 100644
index 4d380ce18..000000000
--- a/node_modules/core-js/modules/_to-index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var toInteger = require('./_to-integer')
- , max = Math.max
- , min = Math.min;
-module.exports = function(index, length){
- index = toInteger(index);
- return index < 0 ? max(index + length, 0) : min(index, length);
-}; \ No newline at end of file