linbinhuang
Results
1
comments of
linbinhuang
trafficstars
```js const normalize = (str) => { var result = {} str.split(/[\[\]]/g).filter(Boolean).reduce((obj, item, index, a) => { obj.value = item if(index !== a.length -1) { return (obj.children = {}) }...