You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/11-async/02-promise-basics/02-delay-promise/task.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
La fonction de base `setTimeout` utilise des fonctions de retour. Créez une alternative avec une promesse.
5
5
6
-
La fonction `dealy(ms)` doit retourner une promesse. Cette promesse doit s'acquitter après `ms` milliseconds, pour que l'on puisse ajouter `.then` à celle-ci, comme cela :
6
+
La fonction `delay(ms)` doit retourner une promesse. Cette promesse doit s'acquitter après `ms` milliseconds, pour que l'on puisse ajouter `.then` à celle-ci, comme cela :
Copy file name to clipboardExpand all lines: 1-js/11-async/02-promise-basics/03-animate-circle-promise/task.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
2
-
# Animé un cercle avec une promesse
2
+
# Animer un cercle avec une promesse
3
3
4
4
Ré-écrivez la fonction `showCircle` dans la solution de la tâche <info:task/animate-circle-callback> pour qu'elle renvoie une promesse au lieu d'une fonction de retour.
0 commit comments