All challenges
JavaScript challenge · Frontend
List Format
Difficulty
easy
Time
~15m
Format
Single
Grading
Auto-graded
#frontend#javascript#typescript#strings
Mission file // read carefullyeasy
Implement listFormat(items) that joins a list of strings into human-readable form with an Oxford comma:
[] => ""
["a"] => "a"
["a","b"] => "a and b"
["a","b","c"] => "a, b, and c"
Build with
TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge
Sign in to save your progress.