Answers for "rest and spread operators"

0

rest operator javascript

function fun1(...theArgs) {
  console.log(theArgs.length);
}

fun1();  // 0
fun1(5); // 1
fun1(5, 6, 7); // 3
Posted by: Guest on September-17-2020

Code answers related to "rest and spread operators"

Code answers related to "Javascript"

Browse Popular Code Answers by Language