Is there something in node.js to format string like this:
format("HEY! my name is #{name} and I live at #{place}", {name: "joe", "place":"london"})
Is there something in node.js to format string like this:
format("HEY! my name is #{name} and I live at #{place}", {name: "joe", "place":"london"})
Not directly, but if you use CoffeeScript you can use that syntax:
name = "joe"
place = "london"
console.log("HEY! my name is #{name} and i live at #{place}")