Skip to content

Commit fac7f8b

Browse files
committed
Add presentation
1 parent e21db3d commit fac7f8b

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

presentation.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Promises
2+
3+
#### @aqrln
4+
5+
---
6+
7+
**Promise** — объект, представляющий результат асинхронной операции.
8+
9+
---
10+
11+
## Терминология
12+
13+
---
14+
15+
**Promise** — объект, соответствующий спецификации [Promise/A+](https://promisesaplus.com/).
16+
17+
---
18+
19+
**Thenable** — объект или функция, имеющий метод `then`.
20+
21+
---
22+
23+
**Value** — любой JavaScript-объект.
24+
25+
---
26+
27+
**Exception** — любое значение, выкинутое при помощи оператора `throw`.
28+
29+
---
30+
31+
**Reason** — значение, обозначающее причину отклонения Promise.
32+
33+
---
34+
35+
## Состояния Promise
36+
37+
---
38+
39+
* Pending
40+
* Fulfilled
41+
* Rejected
42+
43+
---
44+
45+
## Async/Await
46+
47+
---
48+
49+
## Q&A

reveal.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"transition": "none"
3+
}

0 commit comments

Comments
 (0)