Files

7 lines
116 B
JavaScript

function Component(props) {
const x = [];
<dif>{x}</dif>;
const y = x.map((item) => item);
return [x, y];
}