8 lines
No EOL
149 B
JavaScript
8 lines
No EOL
149 B
JavaScript
function Component(props) {
|
|
const items = [];
|
|
for (const x of props.items) {
|
|
x.modified = true;
|
|
x |> items.push(%);
|
|
}
|
|
return items;
|
|
} |