Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/do-while-conditional-break.js
T
2026-08-27 21:09:14 +00:00

11 lines
150 B
JavaScript

function Component(props) {
let x = [0, 1, 2, 3];
do {
if (x === 0) {
break;
}
mutate(x);
} while (props.cond);
return x;
}