Answers for "what is the difference between explicit parameter and rest parameter javascript"

0

what is the difference between explicit parameter and rest parameter javascript

// Voor rest parameters, kwam je het volgende wel eens tegen:
function f(a, b){
  var args = Array.prototype.slice.call(arguments, f.length);

  // …
}

// Wat net hetzelfde is als:

function f(a, b, ...args) {
  
}
Posted by: Guest on October-06-2020

Code answers related to "what is the difference between explicit parameter and rest parameter javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language