Driver Code
let array = [ 5 , 12 , 33 , 4 , 56 , 12 , 20 ] ; let m = array . length ; let del = [ 12 , 4 , 56 , 5 ] ; let n = del . length ; document . write ( findSmallestAfterDel ( array , m , del , n ) ) ;