# add dist

This commit is contained in:
Mario Romano
2016-04-21 11:56:31 +01:00
parent 5914688467
commit 07807e7bc3
13499 changed files with 1808930 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
'use strict';
var reduce = Array.prototype.reduce;
module.exports = function (literals/*, …substitutions*/) {
var args = arguments;
return reduce.call(literals, function (a, b, i) {
return a + ((args[i] === undefined) ? '' : String(args[i])) + b;
});
};