Permalink
Browse files

Add note about usage

  • Loading branch information...
1 parent 2e2846b commit d7ceffbadac2560fe2352f0feb4c44a5c0add979 @eriwen committed Nov 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -1,6 +1,8 @@
# es6-map-shim - A polyfill for ES6 Maps
This is a *destructive* shim that implements the ES6 Map specification as closely as possible.
+It is *slow* (lookups in O(n) time for now) and not intended for use in a production environment.
+
```js
var map = new Map([['foo', 'bar'], [-0, function(){}]]);
map.set(null, 42);

0 comments on commit d7ceffb

Please sign in to comment.