Flatten Nested Object

Objects ยท hard

Implement `flattenObject(obj)` returning a flat object whose keys are dot-joined paths to each non-object value.

Learning resources

Loading...

Run your code to see results.