promise與回調的異步編程比較(小demo)

首先咱們要作三個小球的運動,第一個動後第二個動以後第三個動 咱們先寫出三個小球球javascript <style> .ball{ width:40px; height:40px; border-radius: 20px; } .ball1{ background:red; } .ball2{ background:yellow; } .ball3{ background:blue; } </st
相關文章
相關標籤/搜索