Update article.md
This commit is contained in:
parent
fd16517ee3
commit
e1de4415c1
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ john = null;
|
|||
|
||||
Usually, properties of an object or elements of an array or another data structure are considered reachable and kept in memory while that data structure is in memory.
|
||||
|
||||
In a regular `Map`, it does not matter if we store an object as a key or as a value.It is kept in memory even if there are no more references to it.
|
||||
In a regular `Map`, it does not matter if we store an object as a key or as a value. It's kept in memory even if there are no more references to it.
|
||||
|
||||
For instance:
|
||||
```js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue