Skip to content

Latest commit

 

History

History

weak-map

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

WeakMap


MIT License

WeakMap extensions

Table of contents

Usage

import { extend } from 'jsmodern';
import {
  from,
  isWeakMap,
  of,
} from 'jsmodern/dist/weak-map.js';

extend({
  weakMap: [
    from,
    isWeakMap,
    of,
  ],
});

console.log([
  WeakMap.from,
  WeakMap.isWeakMap,
  WeakMap.of,
].every(n => 'function' === typeof(n)));

Available extensions

Check out API Reference.

License

MIT License © Rong Sen Ng