promise与回调的异步编程比较(小demo)

首先咱们要作三个小球的运动,第一个动后第二个动以后第三个动 咱们先写出三个小球球javascript <style> .ball{ width:40px; height:40px; border-radius: 20px; } .ball1{ background:red; } .ball2{ background:yellow; } .ball3{ background:blue; } </st
相关文章
相关标签/搜索