s = \'hello %s, how are you doing\' % (my_name)
That\'s how you do it in python. How can you do that in javascript/node.js?
If you are using node.js, console.log() takes format string as a first parameter:
console.log('count: %d', count);