es7.string.trim-left.js 219 B

12345678
  1. 'use strict';
  2. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  3. require('./_string-trim')('trimLeft', function ($trim) {
  4. return function trimLeft() {
  5. return $trim(this, 1);
  6. };
  7. }, 'trimStart');