Loading homepage
Implement squashObject to convert a nested object into a single level of dot-delimited leaf paths.
Input: squashObject({ user: { name: "Ada", settings: { theme: "dark" } } }); Output: { "user.name": "Ada", "user.settings.theme": "dark" }
Use the documented contract in both JS and TS.