All challenges
JavaScript challenge · Frontend
Size of Structure
Difficulty
easy
Time
~10m
Format
Single
Grading
Auto-graded
#frontend#javascript#typescript#objects#arrays
Mission file // read carefullyeasy
Implement size(val) returning the length of string/array/Map/Set, or the number of keys on a plain object. Return 0 otherwise.
Build with
TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge
Sign in to save your progress.