Const
Flattens a deep object to a single demension, converting the keys to dot notation.
crush({ name: 'ra', children: [{ name: 'hathor' }] })// { name: 'ra', 'children.0.name': 'hathor' } Copy
crush({ name: 'ra', children: [{ name: 'hathor' }] })// { name: 'ra', 'children.0.name': 'hathor' }
Flattens a deep object to a single demension, converting the keys to dot notation.