Copy the burst time into rt [ ]
for ( let i = 0 ; i < n ; i ++ ) rt [ i ] = proc [ i ] . bt ; let complete = 0 , t = 0 , minm = Number . MAX_VALUE ; let shortest = 0 , finish_time ; let check = false ;