swc/ecmascript/minifier/tests/terser/compress/harmony/default_assign/output.js

9 lines
169 B
JavaScript
Raw Normal View History

function f(a) {
console.log(a);
}
g = ([[] = 123]) => {};
h = ([[x, y, z] = [4, 5, 6]] = []) => {};
function i([[x, y, z] = [4, 5, 6]] = []) {
console.log(b);
}