← Code LabNode.js0/50 solved · 0%
Foundations · easy

12. Transaction Status Mapper

Map raw codes to human-friendly strings.

Codes: 0=PENDING, 1=SUCCESS, 2=FAILED.
Required in your answer: map[code]