Skip to main content
The 2024 Developer Survey results are live! See the results
2 events
when toggle format what by license comment
Jan 23, 2023 at 15:03 comment added Stefnotch This turns objects into maps, which isn't what one wants. Try it with const data = {visible: true, child: {visible: false}}. You'll recover two nested maps instead of recovering objects. Check out my answer for an actually correct implementation.
Dec 29, 2022 at 1:49 history answered Alynva CC BY-SA 4.0