RosettaCodeData/Task/Remove-duplicate-elements/Sidef/remove-duplicate-elements.sidef

4 lines
104 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
var ary = [1,1,2,1,'redundant',[1,2,3],[1,2,3],'redundant'];
say ary.uniq.dump;
say ary.last_uniq.dump;