Javascript – Create new Object by reading other object with recursive values
I have a object obj1 which has mapping information which is present in other as values vals. I am able to create flat object structure but recursive is not working so require help on this const obj1 = [ {…