Promise 不能运行的解决方案
(function _animate1() {
setTimeout(function () {
var marginLeft = parseInt(ball.style.marginLeft, 10);
......以上一样
},13);
})();
(function _animate1() {
setTimeout(function () {
var marginLeft = parseInt(ball.style.marginLeft, 10);
......以上一样
},13);
})();
2017-09-05