File tree Expand file tree Collapse file tree 2 files changed +113
-0
lines changed Expand file tree Collapse file tree 2 files changed +113
-0
lines changed Original file line number Diff line number Diff line change 1+ <div align =" center " >
2+ <h1 >Objects</h1 >
3+ </div >
4+
5+ <ol >
6+
7+ <li >
8+
9+ ** let a=3;**
10+ ** let b = new Number(3);**
11+ ** let c=3;**
12+
13+ ** console.log(a == b);**
14+ ** console.log(a === b);**
15+ ** console.log(b === c);**
16+
17+ - A: ` true false true `
18+ - B: ` false false true `
19+ - C: ` true false false `
20+ - D: ` false true true `
21+
22+ <br />
23+ <details >
24+ <summary ><b >Answer</b ></summary >
25+ <p >
26+
27+ #### Option: C
28+
29+ </p >
30+ </details >
31+ </li >
32+
33+ ---
34+
35+ <li >
36+
37+ ** What will be the output of the following code?**
38+
39+ ``` JS
40+ const telegramGroup = {
41+ name: ' TeamDevkode'
42+ }
43+ const { name: TDK } = telegramGroup;
44+
45+ console .log (TDK );
46+ ```
47+
48+ - A: ` null `
49+ - B: ` Error will be thrown `
50+ - C: ` TeamDevkode `
51+ - D: ` undefined `
52+
53+ <br />
54+ <details >
55+ <summary ><b >Answer</b ></summary >
56+ <p >
57+
58+ #### Option: C
59+
60+ </p >
61+ </details >
62+ </li >
63+
64+ ---
65+
66+ </ol >
Original file line number Diff line number Diff line change @@ -170,4 +170,51 @@ examplePromise
170170</p >
171171</details >
172172</li >
173+
174+ ---
175+
176+ <li >
177+
178+ ** Which of the following isn’t a method of Javascript Promise?**
179+
180+ - A: ` Promise.then() `
181+ - B: ` Promise.all() `
182+ - C: ` Promise.error() `
183+ - D: ` Promise.catch() `
184+
185+ <br />
186+ <details >
187+ <summary ><b >Answer</b ></summary >
188+ <p >
189+
190+ #### Option: C
191+
192+ </p >
193+ </details >
194+ </li >
195+
196+ ---
197+
198+ <li >
199+
200+ ** Which of the following isn’t a state of Javascript Promise?**
201+
202+ - A: ` fulfilled `
203+ - B: ` awaited `
204+ - C: ` pending `
205+ - D: ` rejected `
206+
207+ <br />
208+ <details >
209+ <summary ><b >Answer</b ></summary >
210+ <p >
211+
212+ #### Option: B
213+
214+ </p >
215+ </details >
216+ </li >
217+
218+ ---
219+
173220</ol >
You can’t perform that action at this time.
0 commit comments