We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f86d912 commit 34b4280Copy full SHA for 34b4280
code-snippets/promises.md
@@ -24,4 +24,51 @@
24
</details>
25
26
</li>
27
+
28
+---
29
30
+<li>
31
32
+**Which of the following isn’t a method of Javascript Promise?**
33
34
+- A: `Promise.then()`
35
+- B: `Promise.all()`
36
+- C: `Promise.error()`
37
+- D: `Promise.catch()`
38
39
+<br/>
40
+<details>
41
+<summary><b>Answer</b></summary>
42
+<p>
43
44
+#### Option: C
45
46
+</p>
47
+</details>
48
+</li>
49
50
51
52
53
54
+**Which of the following isn’t a state of Javascript Promise?**
55
56
+- A: `fulfilled`
57
+- B: `awaited`
58
+- C: `pending`
59
+- D: `rejected`
60
61
62
63
64
65
66
+#### Option: B
67
68
69
70
71
72
73
74
</ol>
0 commit comments