Results 3 comments of Colter

```js const func2 = (input, output = {}) => { const generateKeys = (key, value, output = {}) => { const index = key.indexOf('.') if (index > 0) { const...

```js const func = (str) => { let temp = '-1' let count = 0 let maxCount = 0 // 传入的字段串增加一位,防止以连续字母结尾的统计出错 str += '-1' const res = {} while(str.length >...

```js function func (origin, output = {}, keys = []) => { if (typeof origin === 'object') { for (const k in origin) { generate(origin[k], output, [...keys, k]) } }...