function passthru(literals) { console.log(literals,arguments) let result = ''; let i = 0; while (i < literals.length) { result += literals[i++]; if (i < arguments.length) { result += arguments[i]; } } console.log(result) return result; } const [a, b, c] = [2, 2, 3]; passthru`'a' + ${a} + ${b} + ${c}= ${a + b + c} + 'n'`; passthru`${a} + ${b} + ${c}= ${a + b + c}`