結果 : how to print duplicate values in array in javascript