📜  唯一的顺序 codewars javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:23.403000             🧑  作者: Mango

代码示例1
unique_in_order('AAAABBBCCDAABBB') == ['A', 'B', 'C', 'D', 'A', 'B']
unique_in_order('ABBCcAD')         == ['A', 'B', 'C', 'c', 'A', 'D']
unique_in_order([1,2,2,3,3])       == [1,2,3]