swc/crates/swc_ecma_lints/tests/pass/no-dupe-args/valid/input.js

6 lines
143 B
JavaScript
Raw Normal View History

function a(a, b, c) {}
var b = function (a, b, c) {};
function c({ a, b }, { c, d }) {}
function d([, a]) {}
function foo([[a, b], [c, d]]) {}