Function Call
merge ( a1 , a2 , a1 . length , a2 . length ) ; document . write ( " " ) ; for ( let i = 0 ; i < a1 . length ; i ++ ) { document . write ( a1 [ i ] + " " ) ; } document . write ( " " ) ; document . write ( " " ) ; for ( let i = 0 ; i < a2 . length ; i ++ ) { document . write ( a2 [ i ] + " " ) ; }