JSFiddle - React, Tailwind, and code Playground
JavaScript
function test(strings, ...strs) {
console.log(strings)
console.log(strings.raw)
console.log(strs)
}
let nice = "Noice";
test`Hello! ${nice} to meet \n${nice} you!`;
function test(strings, ...strs) {
console.log(strings)
console.log(strings.raw)
console.log(strs)
}
let nice = "Noice";
test`Hello! ${nice} to meet \n${nice} you!`;