Skip to content

Commit

Permalink
Update files/zh-cn/web/javascript/reference/global_objects/weakmap/we…
Browse files Browse the repository at this point in the history
…akmap/index.md
  • Loading branch information
JasonLamv-t authored Oct 31, 2023
1 parent 51d44e0 commit d3a6ed7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ wm2.get(o3); // undefined,因为设置的值就是 undefined

wm1.has(o2); // true
wm2.has(o2); // false
wm2.has(o3); // true(即使值本身是 ‘undefined
wm2.has(o3); // true(即使值是 undefined)

wm3.set(o1, 37);
wm3.get(o1); // 37
Expand Down

0 comments on commit d3a6ed7

Please sign in to comment.