]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/is-native-implemented.js
b3fe5a594d253ed857e76f4301ad3daafc75c8a3
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / is-native-implemented.js
1 // Exports true if environment provides native `WeakMap` implementation,
2 // whatever that is.
3
4 'use strict';
5
6 module.exports = (function () {
7 if (typeof WeakMap === 'undefined') return false;
8 return (Object.prototype.toString.call(WeakMap.prototype) ===
9 '[object WeakMap]');
10 }());