// MISSION ARCHIVE //

CHALLENGE HALL

Select an anomaly, inspect the buggy logic, and submit your verified fix.

🎯 BUG OF THE DAY
EASY
+100 XP

Off-By-One Array Bound

An array summation utility is throwing undefined errors or NaN because its loop boundary traverses past the final index. Fix the loop guard to properly sum array elements without indexing out of bounds.

⏱ 5m limit ⚡ 1 Solves JAVASCRIPT
HUNT BUG →
EASY
+100 XP

Strict Equality Type Coercion

A boolean status check function is inadvertently accepting string falsy values due to loose type comparison. Refactor the equality check so that only strict boolean true returns valid.

⏱ 5m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
EASY
+100 XP

Mutable Default Argument

A tag registration function allows caller overrides, but when items array is omitted, it fails to initialize a fresh array if null is supplied. Fix the function so items defaults to a clean array when not provided or null.

⏱ 5m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
EASY
+100 XP

Falsy Zero Numeric Check

A sensor calibration function checks if a value was provided using a truthy test. However, zero is a valid calibration point and gets rejected! Fix the guard to allow 0 as a valid number.

⏱ 5m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
EASY
+100 XP

String Number Addition Concatenation

A telemetry parser takes two coordinate inputs from an API and adds them. But one input is frequently a string, causing '4' + 5 to equal '45'! Ensure both inputs are parsed to numbers before adding.

⏱ 5m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →