-
Notifications
You must be signed in to change notification settings - Fork 879
Closed
Description
阮老师,就then() 用法辨析这一块能不能给出一些代码实例,感觉这样会更好理解一些;
// 写法一
f1().then(function () {
return f2();
});
// 写法二
f1().then(function () {
f2();
});
// 写法三
f1().then(f2());
// 写法四
f1().then(f2);就是说这上面的四个例子可不可以用具体的例子来阐述,总感觉原文叙述的不够深刻,对于初学者而言还是有些困难,通过具体的代码实例会更好理解一些
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels