14 lines
No EOL
248 B
JavaScript
14 lines
No EOL
248 B
JavaScript
function Component() {
|
|
let x = [1, 2, 3];
|
|
let ret = [];
|
|
do {
|
|
let item = x.pop();
|
|
item * 2 |> ret.push(%);
|
|
} while (x.length);
|
|
return ret;
|
|
}
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [],
|
|
isComponent: false
|
|
}; |