Cómo imprimir el mensaje en Nodjs

console.log('My %s has %d ears', 'cat', 2)

Options:
%s format a variable as a string
%d format a variable as a number
%i format a variable as its integer part only
%o format a variable as an object
Asif Iqbal Paracha