Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent 3b2b315 commit 17fa99dd56c47d00087a92a672125ac85cd94be3 @arv arv committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 data/es6/weak-map/index.md
@@ -7,7 +7,7 @@
# Weak Maps
-`WeakMap`s help developers avoid memory leaks by holding references to their properties *weakly*, meaning that if a `WeakMap` is the only object with a reference to another object, the GC may collect the referened object. This behavior differs from all variable references in ES5.
+`WeakMap`s help developers avoid memory leaks by holding references to their properties *weakly*, meaning that if a `WeakMap` is the only object with a reference to another object, the GC may collect the referenced object. This behavior differs from all variable references in ES5.
A key property of Weak Maps is the _inability to enumerate their keys_. This is necessary to prevent attackers observing the internal behavior of other systems in the environment which share weakly-mapped objects. Should the number or names of items in the collection be discoverable from the API, even if the values aren't, `WeakMap` instances might create a [side channel](http://en.wikipedia.org/wiki/Side_channel_attack) where one was previously not available.

0 comments on commit 17fa99d

Please sign in to comment.