Answers for "node js function infinite parameters"

0

node js function infinite parameters

function print(...args) {
  args.forEach((arg, index) => {
    console.log(arg);
  });
}

print('hello', true, new Date());
Posted by: Guest on June-01-2020

Code answers related to "node js function infinite parameters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language