Given arrays
let current_row = 8 ; let current_col = 8 ; let destination_row = 8 ; let destination_col = 4 ; let output = check ( current_row , current_col , destination_row , destination_col ) ; document . write ( output ) ;