Answers for "how to print message in nodjs"

0

how to print message in 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
Posted by: Guest on March-01-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language