8 lines
No EOL
145 B
JavaScript
8 lines
No EOL
145 B
JavaScript
function Component(props) {
|
|
const x = [];
|
|
const y = (item => {
|
|
item.updated = true;
|
|
return item;
|
|
}) |> x.map(%);
|
|
return [x, y];
|
|
} |