Answers for "Javascript function method with any number of arguments"

0

Javascript function method with any number of arguments

function foo() {
  for (var i = 0; i < arguments.length; i++) {
    console.log(arguments[i]);
  }
}
Posted by: Guest on February-26-2022

Code answers related to "Javascript function method with any number of arguments"

Browse Popular Code Answers by Language