From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/core-js/modules/es6.string.raw.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'node_modules/core-js/modules/es6.string.raw.js') diff --git a/node_modules/core-js/modules/es6.string.raw.js b/node_modules/core-js/modules/es6.string.raw.js index 1016acfa2..aa40ff6fa 100644 --- a/node_modules/core-js/modules/es6.string.raw.js +++ b/node_modules/core-js/modules/es6.string.raw.js @@ -1,18 +1,18 @@ -var $export = require('./_export') - , toIObject = require('./_to-iobject') - , toLength = require('./_to-length'); +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) - , len = toLength(tpl.length) - , aLen = arguments.length - , res = [] - , i = 0; - while(len > i){ + 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])); + if (i < aLen) res.push(String(arguments[i])); } return res.join(''); } -}); \ No newline at end of file +}); -- cgit v1.2.3