Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Standard conventions for indicating a function argument is unused in JavaScript

function f(...[, , third]) {
  console.log(third);
}

f(1, 2, 3);
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Standard #conventions #indicating #function #argument #unused #JavaScript
ADD COMMENT
Topic
Name
7+2 =