is there any way to reverse the object in js?
wanna make a function, but struggling hard. i tryed to find the object depth first and then make founded amount of itera