aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/$.string-repeat.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
commit5f466137ad6ac596600e3ff53c9b786815398445 (patch)
treef914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/core-js/modules/$.string-repeat.js
parentc9f5ac8e763eda19aa0564179300cfff76785435 (diff)
node_modules, clean up package.json
Diffstat (limited to 'node_modules/core-js/modules/$.string-repeat.js')
-rw-r--r--node_modules/core-js/modules/$.string-repeat.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/core-js/modules/$.string-repeat.js b/node_modules/core-js/modules/$.string-repeat.js
deleted file mode 100644
index 491d08535..000000000
--- a/node_modules/core-js/modules/$.string-repeat.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-var toInteger = require('./$.to-integer')
- , defined = require('./$.defined');
-
-module.exports = function repeat(count){
- var str = String(defined(this))
- , res = ''
- , n = toInteger(count);
- if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
- for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
- return res;
-}; \ No newline at end of file