let escape = require("lodash.escape"); module.exports = function(strings) { //first element is the strings, don't need it let args = arguments.slice(1); //first element will be the initial value return strings.slice(1).reduce(function(result, string, i) { return result + escape(args[i]) + string; }, strings[0]); };