JSTQL-JS-Transform/output_testing/1170do-while-early-unconditional-break.js

8 lines
No EOL
124 B
JavaScript

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