mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 07:56:12 +02:00
content(docs): emphasis on JS promises, JS does not wait!
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
eda6adb16e
commit
e4df60d22b
@@ -57,7 +57,7 @@ Promises are possibly the #1 most common source of confusion for beginners. In o
|
|||||||
to avoid falling in pitfalls yourself, you have to remember 2 things about Javascript when
|
to avoid falling in pitfalls yourself, you have to remember 2 things about Javascript when
|
||||||
working with promises.
|
working with promises.
|
||||||
|
|
||||||
1. Javascript does not wait.
|
1. Javascript _does not_ wait.
|
||||||
2. No seriously, Javascript won't wait for your promises!
|
2. No seriously, Javascript won't wait for your promises!
|
||||||
|
|
||||||
You may have tried doing something like this before.
|
You may have tried doing something like this before.
|
||||||
|
|||||||
Reference in New Issue
Block a user