重複引數

嚴格模式不允許你使用重複的函式引數名稱。

function foo(bar, bar) {}  // No error. bar is set to the final argument when called

"use strict";
function foo(bar, bar) {}; // SyntaxError: duplicate formal argument bar