Skip to content

Commit 1cd02bd

Browse files
committed
Fix duplicate and missing question numbers
1 parent 81c092e commit 1cd02bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ We said that `this.firstName` equals `"Sarah"` and `this.lastName` equals `"Smit
401401

402402
---
403403

404-
###### 12. What are the three phases of event propagation?
404+
###### 13. What are the three phases of event propagation?
405405

406406
- A: Target > Capturing > Bubbling
407407
- B: Bubbling > Target > Capturing
@@ -422,7 +422,7 @@ During the **capturing** phase, the event goes through the ancestor elements dow
422422

423423
---
424424

425-
###### 13. All object have prototypes.
425+
###### 14. All object have prototypes.
426426

427427
- A: true
428428
- B: false
@@ -439,7 +439,7 @@ All objects have prototypes, except for the **base object**. The base object has
439439

440440
---
441441

442-
###### 14. What's the output?
442+
###### 15. What's the output?
443443

444444
```javascript
445445
function sum(a, b) {
@@ -459,7 +459,7 @@ sum(1, "2");
459459

460460
#### Answer: C
461461

462-
JavScript is a **dynamimcally typed language**: we don't specify what types certain variables are. Values can automatically be converted into another type without you knowing, which is called _implicit type coercion_. **Coercion** is converting from one type into another.
462+
JavaScript is a **dynamimcally typed language**: we don't specify what types certain variables are. Values can automatically be converted into another type without you knowing, which is called _implicit type coercion_. **Coercion** is converting from one type into another.
463463

464464
In this example, JavaScript converts the number `1` into a string, in order for the function to make sense and return a value. During the addition of a numeric type (`1`) and a string type (`'2'`), the number is treated as a string. We can concatenate strings like `"Hello" + "World"`, so what's happening here is `"1" + "2"` which returns `"12"`.
465465

@@ -468,7 +468,7 @@ In this example, JavaScript converts the number `1` into a string, in order for
468468

469469
---
470470

471-
###### 15. What's the output?
471+
###### 16. What's the output?
472472

473473
```javascript
474474
let number = 0;
@@ -504,7 +504,7 @@ This returns `0 2 2`.
504504

505505
---
506506

507-
###### 16. What's the output?
507+
###### 17. What's the output?
508508

509509
```javascript
510510
function getPersonInfo(one, two, three) {
@@ -535,7 +535,7 @@ If you use tagged template literals, the value of the first argument is always a
535535

536536
---
537537

538-
###### 17. What's the output?
538+
###### 18. What's the output?
539539

540540
```javascript
541541
function checkAge(data) {
@@ -571,7 +571,7 @@ This is why both `{ age: 18 } === { age: 18 }` and `{ age: 18 } == { age: 18 }`
571571

572572
---
573573

574-
###### 18. What's the output?
574+
###### 19. What's the output?
575575

576576
```javascript
577577
function getAge(...args) {

0 commit comments

Comments
 (0)