summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/es6-weak-map/is-native-implemented.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/es6-weak-map/is-native-implemented.js')
-rw-r--r--tools/eslint/node_modules/es6-weak-map/is-native-implemented.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/eslint/node_modules/es6-weak-map/is-native-implemented.js b/tools/eslint/node_modules/es6-weak-map/is-native-implemented.js
deleted file mode 100644
index ddc4dbd29c..0000000000
--- a/tools/eslint/node_modules/es6-weak-map/is-native-implemented.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Exports true if environment provides native `WeakMap` implementation, whatever that is.
-
-'use strict';
-
-module.exports = (function () {
- if (typeof WeakMap !== 'function') return false;
- return (Object.prototype.toString.call(new WeakMap()) === '[object WeakMap]');
-}());