Skip to content

Commit

Permalink
docs: update docs/JavaScript/data_type.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qiufeihong2018 committed Apr 23, 2024
1 parent f25de4e commit c648b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/JavaScript/data_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ console.log(a); // 10值
var obj1 = {}
var obj2 = obj1;
obj2.name = "Xxx";
console.log(obj1.name); // xxx
console.log(obj1.name); // Xxx
```

引用类型数据存放在堆中,每个堆内存对象都有对应的引用地址指向它,引用地址存放在栈中。
Expand Down

0 comments on commit c648b08

Please sign in to comment.