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