Hacker News new | ask | show | jobs
by davidmurdoch 819 days ago
What do you mean? `console.log` supports `%d` and `%f` already.
1 comments

console.log("This is a %s and a %d!", "string", 4.3) -> This is a string and a 4!