摘要:
一 canvas Canvas.getContext("2d");//2d是小写的 ,不能大写 二 keyframes + animation @keyframes XX{ 0% {background:yellow;} 25% {background:red;} } animation: keyf 阅读全文
posted @ 2022-06-02 13:34
lxq3280
阅读(39)
评论(0)
推荐(0)
摘要:
Promise本身是同步的,但是then是异步的 let res = new Promise((res, rej) => { console.log(1); }); console.log(2); }, Promise的一些方法 //all全都执行后才返回,any只要一个执行就返回 Promise. 阅读全文
posted @ 2022-06-02 13:31
lxq3280
阅读(65)
评论(0)
推荐(0)

浙公网安备 33010602011771号