JSTQL-JS-Transform/output_testing/937optional-member-expression-call-as-property.js

4 lines
No EOL
92 B
JavaScript

function Component(props) {
const x = makeObject();
return x?.[props.value |> foo(%)];
}