9 lines
203 B
JavaScript
9 lines
203 B
JavaScript
|
function Component(props) {
|
||
|
const x = props.x |> foo(%);
|
||
|
const fn = function () {
|
||
|
const arr = [...(props |> bar(%))];
|
||
|
return x |> arr.at(%);
|
||
|
};
|
||
|
const fnResult = fn();
|
||
|
return fnResult;
|
||
|
}
|