Driver Code
let a = [ [ 1 , 2 , 3 ] , [ 4 , 5 , 6 ] , [ 7 , 8 , 9 ] ] ; document . write ( getGreatestSum ( a ) + " " ) ; let b = [ [ 4 , 5 , 6 ] , [ 4 , 5 , 6 ] , [ 4 , 5 , 6 ] ] ; document . write ( getGreatestSum ( b ) ) ;