Sha256: d4fb40760ae5403f7cded05263aa38bcccf420b4500e90378c63ec8cb020ff1d

Contents?: true

Size: 519 Bytes

Versions: 66

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

66 entries across 30 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.42 node_modules/core-js/library/modules/es6.string.raw.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/es6.string.raw.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/es6.string.raw.js
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/es6.string.raw.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/es6.string.raw.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/es6.string.raw.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/es6.string.raw.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/es6.string.raw.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/es6.string.raw.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/es6.string.raw.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/es6.string.raw.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/es6.string.raw.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.raw.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/es6.string.raw.js