GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — WeakMap and WeakSet by ArvinH · Pull Request #67 · javascript-tutorial/zh-hant.javascript.info Conversation
Contributor
Target chapter
|
| File name | Change(reason) |
|---|---|
article.md |
翻譯繁體中文 |
01-recipients-read/* |
翻譯繁體中文 |
02-recipients-when-read/* |
翻譯繁體中文 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Please make the requested changes. After it, add a comment "/done". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ``` | ||
|
|
||
| Now we don't have to clean `visitsCountMap`. After `john` object becomes unreachable by all means except as a key of `WeakMap`, it gets removed from memory, along with the information by that key from `WeakMap`. | ||
| 現在我們不用清理 `visitsCountMap`。當 `john` 物件變得不可存取,只剩下作為 `WeakMap` 的鍵後,它會從記憶體中被移除,連同那些從 `WeakMap` 的鍵得來的資訊。 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
變得 改成 變成 感覺順一些?
| 現在我們不用清理 `visitsCountMap`。當 `john` 物件變得不可存取,只剩下作為 `WeakMap` 的鍵後,它會從記憶體中被移除,連同那些從 `WeakMap` 的鍵得來的資訊。 | |
| 現在我們不用清理 `visitsCountMap` 了。當 `john` 物件變成除了作為 `WeakMap` 的鍵值以外,其餘皆不可達的情況時,它就會連同那些從 `WeakMap` 的鍵得來的資訊,一起從記憶體中被移除。 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Len Chen <[email protected]>
Co-Authored-By: Len Chen <[email protected]>
There was an error while loading. Please reload this page.
|
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.