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

4 lines
92 B
JavaScript
Raw Normal View History

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