metaMap.js 248 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 define(['./getNative', './root'], function(getNative, root) { /** Native method references. */ var WeakMap = getNative(root, 'WeakMap'); /** Used to store function metadata. */ var metaMap = WeakMap && new WeakMap; return metaMap; });