Practice · 4 of 6
Diagnose 6: the missing edge case
CHALLENGE
Difficulty: intermediate+25 XP
Classify the error, then repair firstChar so it returns the first character's code, or -1 for the EMPTY string.
Press Submit to check your solution.
Back to lesson: Practice: Diagnosis gauntlet