function unique(arr) { debugger; var result = [], hash = {}; for (var i = 0, elem; (elem = arr[i]) != null; i++) { if (!hash[elem]) { ... Read More
posted @ 2015-02-13 14:40 zhouyan_jsj Views(104) Comments(0) Diggs(0) Edit