All challenges
JavaScript challenge · Frontend
Negative Array Slicing
Difficulty
medium
Time
~20m
Format
Single
Grading
Auto-graded
#frontend#javascript#typescript#arrays#proxies
Mission file // read carefullymedium
Implement negativeIndex(arr) wrapping an array using Proxies so negative indexing works (e.g. arr[-1] returns the last element).
Build with
TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge
Sign in to save your progress.