10 lines
224 B
JavaScript
10 lines
224 B
JavaScript
|
var getNative = require('./getNative');
|
||
|
|
||
|
/** Native method references. */
|
||
|
var WeakMap = getNative(global, 'WeakMap');
|
||
|
|
||
|
/** Used to store function metadata. */
|
||
|
var metaMap = WeakMap && new WeakMap;
|
||
|
|
||
|
module.exports = metaMap;
|