Duplicated parameters may throw

Published: | Categories: JavaScript

Description

Starting with Firefox 38, duplicated function parameter names will throw a SyntaxError exception when those are used with a rest parameter, for a arrow function, or for a concise method definition.

References