← Back to Phase 2: Intermediate

Squash Object

Phase 2: IntermediateModule 4: Object & Array Manipulation

Medium2.01k completed

Description

Implement a function that returns a new object after squashing the input object into a single level of depth

Your Solution