JSTQL-JS-Transform/output_testing/986temporary-property-load-accessed-outside-scope.js

5 lines
141 B
JavaScript
Raw Normal View History

function Component(props) {
const maybeMutable = new MaybeMutable();
let x = props.value;
return [x, maybeMutable |> maybeMutate(%)];
}