0
1
596
第一種方法:創(chuàng)建空數(shù)組利用indexOf方法檢測就數(shù)組的項是否在新數(shù)組中翁巍。 Array.prototype.unique=function(){...