LiuL0703
Results
14
comments of
LiuL0703
“三个 comppnent 一直都在...” 打错词了,应该是component吧
前面说的很清楚了,除了Symbol,如果想要不被覆盖 可以使用ES6提供的Map ```js var a=new Map(), b='123', c=123; a.set(b,'b'); a.set(c,'c'); a.get(b); // 'b' a.get(c); // 'c' ```
n 个小孩分 k个饼干 列出所有可能性,饼干不能有剩余 ```js const assignCookies = (children, cookies) => { const result = [] const backetracking = (curIndex, restCook, allCookies,path) => { if (curIndex === children+1) { if...