main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
407 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict';
|
---|
| 2 | var $ = require('../internals/export');
|
---|
| 3 | var trimStart = require('../internals/string-trim-start');
|
---|
| 4 |
|
---|
| 5 | // `String.prototype.trimLeft` method
|
---|
| 6 | // https://tc39.es/ecma262/#sec-string.prototype.trimleft
|
---|
| 7 | // eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
|
---|
| 8 | $({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, {
|
---|
| 9 | trimLeft: trimStart
|
---|
| 10 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.