Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/update-expression-on-function-parameter-1.js
2026-08-27 21:09:14 +00:00

16 lines
293 B
JavaScript

function Component({a: a, b: [b], c: {c}}) {
let d = a++;
let e = ++a;
let f = b--;
let g = --b;
let h = c++;
let i = --c;
return [a, b, c, d, e, f, g, h, i];
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{a: 2, b: [3], c: {c: 4}}],
isComponent: false,
};