|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
514 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $trimStart = require('../internals/string-trim').start;
|
|---|
| 3 | var forcedStringTrimMethod = require('../internals/string-trim-forced');
|
|---|
| 4 |
|
|---|
| 5 | // `String.prototype.{ trimStart, trimLeft }` method
|
|---|
| 6 | // https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|---|
| 7 | // https://tc39.es/ecma262/#String.prototype.trimleft
|
|---|
| 8 | module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() {
|
|---|
| 9 | return $trimStart(this);
|
|---|
| 10 | // eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
|
|---|
| 11 | } : ''.trimStart;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.