reaguj element tablicy warunkowej
const arr = [
...(cond ? ['a'] : []),
'b',
];
Lucas Charvolin
const arr = [
...(cond ? ['a'] : []),
'b',
];