array-at-closure.js10 lines
mainRawfunction Component(props) {
const x = foo(props.x);
const fn = function () {
const arr = [...bar(props)];
return arr.at(x);
};
const fnResult = fn();
return fnResult;
}
Loading syntax highlighting…