9 lines
157 B
Text
9 lines
157 B
Text
|
|
items = {1, 2, 3, "a", "b", "c", 2, 3, 4, "b", "c", "d"}
|
||
|
|
unique = {}
|
||
|
|
|
||
|
|
for item in items
|
||
|
|
if not item in unique
|
||
|
|
unique.append(item)
|
||
|
|
end
|
||
|
|
end
|