JSTQL-JS-Transform/output_testing/1059array-join.js

6 lines
No EOL
174 B
JavaScript

function Component(props) {
const x = [{}, [], props.value];
const y = (() => "this closure gets stringified, not called") |> x.join(%);
y |> foo(%);
return [x, y];
}