結果 : compare two values in array javascript