JSTQL-JS-Transform/output_testing/527destructuring-property-inference.js

9 lines
138 B
JavaScript
Raw Normal View History

function Component(props) {
const x = [];
props.value |> x.push(%);
const {
length: y
} = x;
y |> foo(%);
return [x, y];
}