"Usually you'll be a happier JavaScript developer if you hack together a parameter-replacing method like util.format in Node."
+
"You could implement something similar using the piece of code below."
I don't think you can ask more than this, everything is clearly laid out...