mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
23 lines
322 B
Text
23 lines
322 B
Text
---
|
|
source: crates/oxc_mangler/tests/integration/main.rs
|
|
---
|
|
function foo(a) {a}
|
|
function a(b) {
|
|
b;
|
|
}
|
|
|
|
function foo(a) { let _ = { x } }
|
|
function a(b) {
|
|
let c = {x};
|
|
}
|
|
|
|
function foo(a) { let { x } = y }
|
|
function a(b) {
|
|
let { x: c } = y;
|
|
}
|
|
|
|
var x; function foo(a) { ({ x } = y) }
|
|
var a;
|
|
function b(c) {
|
|
({x: a} = y);
|
|
}
|