.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / es.string.trim.js
1 'use strict';
2 var $ = require('../internals/export');
3 var $trim = require('../internals/string-trim').trim;
4 var forcedStringTrimMethod = require('../internals/string-trim-forced');
5
6 // `String.prototype.trim` method
7 // https://tc39.es/ecma262/#sec-string.prototype.trim
8 $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
9   trim: function trim() {
10     return $trim(this);
11   }
12 });