10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
|
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: [{}]
|
||
|
};
|