UNPKG

lodash-compat

Version:

The compatibility build of lodash modular utilities.

10 lines (6 loc) 224 B
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;