```javascript function removeItem(items, removable) { const index = items.indexOf(removable); return […items.slice(0, index), …items.slice(index + 1)]; }
```javascript function removeItem(items, removable) { const index = items.indexOf(removable); return […items.slice(0, index), …items.slice(index + 1)]; }