* Given a non - empty binary search tree , return the minimum data value found in * that tree . Note that the entire tree does not need to be searched .
function minValue ( node ) { var current = node ;