DeepSeek V3.1 vs Devstral Small 1.1

completed
#01🎁 Filter the defective giftseasyView on AdventJS
+
# Challenge \#1: 🎁 Filter the defective gifts 





EASY

Santa has received a list of gifts, but some are **defective**. A gift is defective if its name contains the `#` character.

Help Santa by writing a function that takes a list of gift names and returns a new list that **only contains the non-defective gifts**.

## Examples

```javascript
const gifts1 = ['car', 'doll#arm', 'ball', '#train']
const good1 = filterGifts(gifts1)
console.log(good1)
// ['car', 'ball']

const gifts2 = ['#broken', '#rusty']
const good2 = filterGifts(gifts2)
console.log(good2)
// []

const gifts3 = []
const good3 = filterGifts(gifts3)
console.log(good3)
// []
```
In Queue

Your battle is waiting in the queue. It will start automatically when a slot becomes available.