Files
react/compiler/crates/react_hermes_parser/tests/fixtures/chained-assignment-expressions.js
2024-04-02 16:49:31 -07:00

9 lines
142 B
JavaScript

function foo() {
const x = { x: 0 };
const y = { z: 0 };
const z = { z: 0 };
x.x += y.y *= 1;
z.z += y.y *= x.x &= 3;
return z;
}