Skip to content

Commit 9dd4f61

Browse files
author
YuChengKai
committed
fix
1 parent 524fe0b commit 9dd4f61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

JS/JS-ch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ let a = 111 // 这只是字面量,不是 number 类型
5555
a.toString() // 使用时候才会转换为对象类型
5656
```
5757

58-
对象(Object)是引用类型,在使用过程中会遇到浅拷贝和深拷贝的问题(TODO)
58+
对象(Object)是引用类型,在使用过程中会遇到浅拷贝和深拷贝的问题。
5959

6060
```js
6161
let a = { name: 'FE' }
6262
let b = a
6363
b.name = 'EF'
64-
console.log(a) // EF
64+
console.log(a.name) // EF
6565
```
6666

6767
# Typeof

JS/JS-en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Object is a reference type. We will encouter the problems about shallow copy and
6464
let a = { name: 'FE' }
6565
let b = a
6666
b.name = 'EF'
67-
console.log(a) // EF
67+
console.log(a.name) // EF
6868
```
6969

7070
# Type Conversion

0 commit comments

Comments
 (0)