Well, the problem is that the variable i , within each of your anonymous functions, is bound to the same variable outside of the function. ES6 solution: let.
確定! 回上一頁