Traverse the dictionary
for ( let s of dictionary . keys ( ) ) newlist . push ( dictionary . get ( s ) ) ; let ans = Number . MAX_VALUE ; for ( let i = 0 ; i < newlist . length ; i ++ ) ans = Math . min ( ans , newlist [ i ] ) ;