Skip to content

Commit d8d7bf8

Browse files
Merge pull request #218 from azxj/3-2-correction
Fix #217
2 parents 5c08bae + a7b7daa commit d8d7bf8

File tree

1 file changed

+2
-2
lines changed
  • src/data/ThisObjectPrototypes

1 file changed

+2
-2
lines changed

src/data/ThisObjectPrototypes/ch3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Ch3Questions = [
1818
explanation: `Arrays are also a form of objects, with extra behavior. The organization of contents in arrays is slightly more structured than for general objects.`,
1919
},
2020
{
21-
question: 'What is `typeof function`?',
21+
question: 'What is `typeof function () {}`?',
2222
questionId: '1ELRUPuXgJFmPL1ANffo',
2323
shouldBeRandomized: true,
2424
answers: [
@@ -34,7 +34,7 @@ const Ch3Questions = [
3434
moreInfoUrl:
3535
'https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch3.md#type',
3636
explanation:
37-
'Functions are technically callable objects, thus they are a type of an object. `typeof function` will return "function".',
37+
'Functions are technically callable objects, thus they are a type of an object. `typeof function () {}` will return "function".',
3838
},
3939
{
4040
question: 'What is `String` in JavaScript?',

0 commit comments

Comments
 (0)