Sha256: 292a2151e79d472ab4f430666de44cceabf2bc77603f8ba669d335b7f0c072e2

Contents?: true

Size: 540 Bytes

Versions: 12

Compression:

Stored size: 540 Bytes

Contents

'use strict';
var $ = require('../internals/export');
var $trimEnd = require('../internals/string-trim').end;
var forcedStringTrimMethod = require('../internals/forced-string-trim-method');

var FORCED = forcedStringTrimMethod('trimEnd');

var trimEnd = FORCED ? function trimEnd() {
  return $trimEnd(this);
} : ''.trimEnd;

// `String.prototype.{ trimEnd, trimRight }` methods
// https://github.com/tc39/ecmascript-string-left-right-trim
$({ target: 'String', proto: true, forced: FORCED }, {
  trimEnd: trimEnd,
  trimRight: trimEnd
});

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/core-js/modules/es.string.trim-end.js
disco_app-0.18.2 test/dummy/node_modules/core-js/modules/es.string.trim-end.js
condenser-0.0.8 lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim-end.js
jester-data-8.0.0 node_modules/core-js/modules/es.string.trim-end.js
ezii-os-5.2.1 node_modules/core-js/modules/es.string.trim-end.js
ezii-os-2.0.1 node_modules/core-js/modules/es.string.trim-end.js
ezii-os-1.1.0 node_modules/core-js/modules/es.string.trim-end.js
ezii-os-1.0.0 node_modules/core-js/modules/es.string.trim-end.js
condenser-0.0.7 lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim-end.js
ezii-os-0.0.0.1.0 node_modules/core-js/modules/es.string.trim-end.js
ezii-os-0.0.0.0.1 node_modules/core-js/modules/es.string.trim-end.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim-end.js