Skip to content

Commit 3e08cf0

Browse files
HomyeeKingfunnycoderstar
authored andcommitted
correct the output of the Foo
1 parent d16d2c7 commit 3e08cf0

File tree

1 file changed

+2
-2
lines changed
  • docs/interview/笔试题

1 file changed

+2
-2
lines changed

docs/interview/笔试题/3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ new new Foo().getName()
124124
<details><summary><b>答案</b></summary>
125125
<p>
126126

127-
#### 答案: 2 2 1 1 2 3 3
127+
#### 答案: 2 4 1 1 2 3 3
128128

129129
```js
130130
Foo.getName() // 2
131-
getName() // 2
131+
getName() // 4
132132
Foo().getName() // 1
133133
getName() // 1
134134
new Foo.getName() // 2

0 commit comments

Comments
 (0)