Get parent and grandparent keys from a value inside a deep nested object [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago . Improve this question I’ve got a deep nested JavaScript Object and I know a value which is at the object’s lowest position. I want to know the parent key and grandparent key. I set up a jsbin https://jsbin.com/yimugezuxe/edit?js,console Based on the value 'uniqueID#9aserdf' I want