摘要: var str = 'i like code and writing code makes me feel charming'; var array = str.split(" ").reduce((prev, next) => (prev[next]++ || (prev[next] = 1), 阅读全文
posted @ 2022-02-17 19:47 木木的奇奇 阅读(25) 评论(0) 推荐(0) 编辑