Generate every combination of input's property values, recursing into nested objects.
input
[...combinations({ a: [1, 2], b: 'x' })]; // [{ a: 1, b: 'x' }, { a: 2, b: 'x' }] Copy
[...combinations({ a: [1, 2], b: 'x' })]; // [{ a: 1, b: 'x' }, { a: 2, b: 'x' }]
Generate every combination of
input's property values, recursing into nested objects.