Driver Code
let root = new TreeNode ( 1 ) ; root . left = new TreeNode ( 2 ) ; root . right = new TreeNode ( 3 ) ; let req_node = null ; req_node = find_node ( root , req_node ) ; document . write ( req_node . val ) ;