結果 : javascript check if all items in array are the same