All challenges
JavaScript challenge · Frontend
Pick Keys
Difficulty
easy
Time
~15m
Format
Single
Grading
Auto-graded
#frontend#javascript#typescript#objects
Mission file // read carefullyeasy
Implement pick(obj, keys) returning a new object containing only properties listed in keys.
pick({ a: 1, b: 2, c: 3 }, ['a', 'c']) // => { a: 1, c: 3 }
Build with
TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge
Sign in to save your progress.