for example i have testObject like so:
const testObject = {obj1:1, obj2:2, obj3:3}
when i want destruct all elements i had to do like this:
const {obj1, obj2, obj3} = testObject
is there any way like const {*} = testObject
to destruct all element is an object?
thanks.