JSTQL-JS-Transform/output_testing/1092error.todo-nested-method-calls-lower-property-load-into-temporary.js

10 lines
270 B
JavaScript
Raw Normal View History

import { makeArray } from "shared-runtime";
function Component(props) {
const items = makeArray(0, 1, 2, null, 4, false, 6);
const max = Math.max(...(Boolean |> items.filter(%)));
return max;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}]
};