yao

Results 3 comments of yao

关于 `async`与`await`的例子有个令我疑惑的地方, 通过`async`声名的异步函数, 执行的时候不应该在前面都加上`await`吗? 不然日常使用会带来没必要的困扰吧 ```Javascript async function fn1 (){ console.log(1) await fn2() console.log(2) } async function fn2 (){ console.log('fn2') } await fn1() console.log(3) ``` result: ``` 1 fn2 2...

> The date for an edited txt file (e.g, find and replace multiple hyperlinks) will change to the modified date, but I am expecting it stays to the created date....

在用。拯救了我的眼睛!感激!