boulevard js code example
Example 1: ${} js
let x = 5;
console.log("hello world " + x + " times");
console.log(`hello world ${x} times`);
Example 2: #{} js
let value = dummy`Ik ben ${name} en ik ben ${age} jaar`;
function dummy() {
let str = "";
strings.forEach((string, i) => {
str += string + values[i];
});
return str;
}