Function construct

The opposite of crush, given an object that was crushed into key paths and values will return the original object reconstructed.

construct({ name: 'ra', 'children.0.name': 'hathor' })
// { name: 'ra', children: [{ name: 'hathor' }] }