Skip to content

Commit d15dc7d

Browse files
committed
Rephrase question 33
1 parent 7738ee6 commit d15dc7d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,11 +1003,11 @@ If we click `p`, we see two logs: `p` and `div`. During event propagation, there
10031003
const person = { name: "Lydia" };
10041004

10051005
function sayHi(age) {
1006-
console.log(`${this.name} is ${age}`);
1006+
return `${this.name} is ${age}`;
10071007
}
10081008

1009-
sayHi.call(person, 21);
1010-
sayHi.bind(person, 21);
1009+
console.log(sayHi.call(person, 21));
1010+
console.log(sayHi.bind(person, 21));
10111011
```
10121012

10131013
- A: `undefined is 21` `Lydia is 21`

en-EN/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,11 +1003,11 @@ If we click `p`, we see two logs: `p` and `div`. During event propagation, there
10031003
const person = { name: "Lydia" };
10041004

10051005
function sayHi(age) {
1006-
console.log(`${this.name} is ${age}`);
1006+
return `${this.name} is ${age}`;
10071007
}
10081008

1009-
sayHi.call(person, 21);
1010-
sayHi.bind(person, 21);
1009+
console.log(sayHi.call(person, 21));
1010+
console.log(sayHi.bind(person, 21));
10111011
```
10121012

10131013
- A: `undefined is 21` `Lydia is 21`

0 commit comments

Comments
 (0)