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