An unused function argument is a kind of dead code. Such unused argument should be removed to increase the maintainability of a JavaScript program.

The following code snippet illustrates this rule :

function fun(a, b) { // Non-Compliant as 'a' argument is not used
  var result = b / 3;
  return b;
}