摘要: 在不增加变量的情况下,统计数组中各元素出现的次数。 ```jsfunction countItem (arr) { // 写入你的代码}countItem(['a', 'b', 'a', 'c', 'b', 'b']);``` function countItem(arr) { return arr 阅读全文
posted @ 2018-09-25 14:52 小小公举 阅读(653) 评论(0) 推荐(0) 编辑