Javascript: Validate dynamic conditions in a object node Consider the tree nodes from the image above. We would like to navigate through the tree and return some data if the node’s conditions are met. This may be easy when we have static conditions for all nodes(objA == objB for example)…