Practice · 4 of 5
Second diagnosis
CHALLENGE
Difficulty: intermediate+25 XP
sumSkipNeg must return the sum of the **non-negative** elements only. Trace {3, -1, 4} against the contract, find the drift, and repair it.
Press Submit to check your solution.
Back to lesson: Practice: Bootcamp drills