source: node_modules/core-js-pure/modules/es.string.trim-start.js

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: 496 bytes
Line 
1'use strict';
2// TODO: Remove this line from `core-js@4`
3require('../modules/es.string.trim-left');
4var $ = require('../internals/export');
5var trimStart = require('../internals/string-trim-start');
6
7// `String.prototype.trimStart` method
8// https://tc39.es/ecma262/#sec-string.prototype.trimstart
9// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
10$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, {
11 trimStart: trimStart
12});
Note: See TracBrowser for help on using the repository browser.