I have a binary tree with numbers in the nodes, how do I get the value of node? when I tried this: (a.val is the root of the tree)
var temp = 'a.val'
temp was a string with "a.val" in it.