Skip to content

nathanfaucett/js-weak_map_polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeakMap

WeakMap polyfill

var WeakMap = require("@nathanfaucett/weak_map_polyfill");


var map = new WeakMap();
var key = {};

map.set(key, "value");
map.get(key); // "value"

About

weak map shim for the browser and node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published