一面面试官着急吃饭,全程八股es6新特性Promise的理解,和async,await区别react虚拟domredux怎么执行的flex:1补充代码实现计数器 function counter(initialValue,step) {let count = initialValuefunction add(){ count+=stepreturn count} function sub(){ count-=stepreturn count}return {add:add,sub:sub}} const c = counter(4, 2); console.log(c.add()); // 输...