Skip to content

Commit 2402d46

Browse files
authored
fix(object): shallow copyのコメントを修正 (#1332)
fix #1232
1 parent 53c8ff9 commit 2402d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/basic/object/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ const obj = {
846846
},
847847
};
848848
const cloneObj = shallowClone(obj);
849-
// `nest`オブジェクトは複製されていない
849+
// `nest`プロパティのオブジェクトは同じオブジェクトのままになる
850850
console.log(cloneObj.nest === obj.nest); // => true
851851
```
852852

0 commit comments

Comments
 (0)