Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo

  • Loading branch information...
commit 17fa99dd56c47d00087a92a672125ac85cd94be3 1 parent 3b2b315
@arv arv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  data/es6/weak-map/index.md
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.