mirror of
https://github.com/facebook/react.git
synced 2026-02-26 05:25:05 +00:00
11 lines
150 B
JavaScript
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;
|
|
}
|