Skip to main content

Pick and Omit Functions

Problem 26basic15 mins

Pick and Omit Functions

Created on: 6 Sep 2025, 10:30 AM

Time Elapsed
00:00
Problem Description

Create pick and omit functions to select or exclude object properties.

Requirements

  • •pick() - select properties
  • •omit() - exclude properties
  • •Handle nested paths
  • •Return new object
  • •Handle non-existent properties

Tags

JavaScriptObjectsProperties
Code Editor

Loading editor...