Update article.md
This commit is contained in:
parent
cb62d6d867
commit
a39f437677
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ let array = [ john ];
|
||||||
john = null; // overwrite the reference
|
john = null; // overwrite the reference
|
||||||
|
|
||||||
*!*
|
*!*
|
||||||
// the object previously referenced by john is stored inside the array
|
// the object previously referenced by john is stored inside the array
|
||||||
// therefore it won't be garbage-collected
|
// therefore it won't be garbage-collected
|
||||||
// we can get it as array[0]
|
// we can get it as array[0]
|
||||||
*/!*
|
*/!*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue