|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
479 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | // TODO: Remove this line from `core-js@4`
|
|---|
| 3 | require('../modules/es.string.trim-right');
|
|---|
| 4 | var $ = require('../internals/export');
|
|---|
| 5 | var trimEnd = require('../internals/string-trim-end');
|
|---|
| 6 |
|
|---|
| 7 | // `String.prototype.trimEnd` method
|
|---|
| 8 | // https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|---|
| 9 | // eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
|
|---|
| 10 | $({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, {
|
|---|
| 11 | trimEnd: trimEnd
|
|---|
| 12 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.