function func({a, b, c}) {}
results into
function(____bindingPattern0)
a = ____bindingPattern0.a
b = ____bindingPattern0.b
c = ____bindingPattern0.c
whereas
function func(params) {
const {a, b, c} = params;
}
results into
function(params)
local a = params.a
local b = params.b
local c = params.c
local should be there for parameter destructuring as well
results into
whereas
results into
localshould be there for parameter destructuring as well