We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 393c05f commit b17b7a0Copy full SHA for b17b7a0
1-js/05-data-types/08-weakmap-weakset/02-recipients-when-read/solution.md
@@ -1,15 +1,15 @@
1
2
-我们使用 `WeakMap` 保存日期:
+我们可以使用 `WeakMap` 保存日期:
3
4
-```js run
+```js
5
let messages = [
6
- {text: "Hello", from: "John"},
7
- {text: "How goes?", from: "John"},
8
- {text: "See you soon", from: "Alice"}
+ {text: "Hello", from: "John"},
+ {text: "How goes?", from: "John"},
+ {text: "See you soon", from: "Alice"}
9
];
10
11
let readMap = new WeakMap();
12
13
readMap.set(messages[0], new Date(2017, 1, 1));
14
-// Date 对象我们将会稍后学习
+// 我们稍后将学习 Date 对象
15
```
0 commit comments