摘要: function(arr){ let hash={} for (const key in arr){ if(hash[arr[key]]){ return true } hash[arr[key]]=true } return false } 阅读全文
posted @ 2022-01-07 17:17 前端张大碗 阅读(575) 评论(0) 推荐(0) 编辑