JSTQL-JS-Transform/output_testing/1028constant-prop-colliding-identifier.js

16 lines
No EOL
252 B
JavaScript

import { invoke } from "shared-runtime";
function Component() {
let x = 2;
const fn = () => {
return {
x: "value"
};
};
fn |> invoke(%);
x = 3;
return x;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}]
};