Sha256: d4fb40760ae5403f7cded05263aa38bcccf420b4500e90378c63ec8cb020ff1d

Contents?: true

Size: 519 Bytes

Versions: 64

Compression:

Stored size: 519 Bytes

Contents

var $export = require('./_export');
var toIObject = require('./_to-iobject');
var toLength = require('./_to-length');

$export($export.S, 'String', {
  // 21.1.2.4 String.raw(callSite, ...substitutions)
  raw: function raw(callSite) {
    var tpl = toIObject(callSite.raw);
    var len = toLength(tpl.length);
    var aLen = arguments.length;
    var res = [];
    var i = 0;
    while (len > i) {
      res.push(String(tpl[i++]));
      if (i < aLen) res.push(String(arguments[i]));
    } return res.join('');
  }
});

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/modules/es6.string.raw.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/library/modules/es6.string.raw.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/library/modules/es6.string.raw.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/modules/es6.string.raw.js