HomePremium · ₹999
15.

Convert a nested object into a flat key-value pair dictionary

Medium

Flatten using dot notation. Example: { a: { b: { c: 1 } } } → { 'a.b.c': 1 }

Top 20 JavaScript Interview Questions for FAANG & Product Companies | Mentoxis Resources | Mentoxis