Javascript – Get path with object keys JS
I need get path with object jeys of JS. Function must pass thrught all object, even if he will deep. Input data { tree1: { node1: 'valOfnode1', node2: 'valOfnode2', node3: 'valOfnode3', node4: { node5: 'valOfnode5', node6: 'valOfnode6', node7: { node8:…