Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Make set chainable
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Sep 25, 2014
1 parent cf980a2 commit c4685a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weakmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if (typeof WeakMap === 'undefined') {
entry[1] = value;
else
defineProperty(key, this.name, {value: [key, value], writable: true});
return this;
},
get: function(key) {
var entry;
Expand Down

0 comments on commit c4685a9

Please sign in to comment.