aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/es7.string.trim-left.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/modules/es7.string.trim-left.js')
-rw-r--r--node_modules/core-js/modules/es7.string.trim-left.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es7.string.trim-left.js b/node_modules/core-js/modules/es7.string.trim-left.js
new file mode 100644
index 000000000..e58457714
--- /dev/null
+++ b/node_modules/core-js/modules/es7.string.trim-left.js
@@ -0,0 +1,7 @@
+'use strict';
+// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
+require('./_string-trim')('trimLeft', function($trim){
+ return function trimLeft(){
+ return $trim(this, 1);
+ };
+}, 'trimStart'); \ No newline at end of file