summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/es6-symbol/is-native-implemented.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/es6-symbol/is-native-implemented.js')
-rw-r--r--tools/eslint/node_modules/es6-symbol/is-native-implemented.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/eslint/node_modules/es6-symbol/is-native-implemented.js b/tools/eslint/node_modules/es6-symbol/is-native-implemented.js
index 5f073a19ca..8676d0e8df 100644
--- a/tools/eslint/node_modules/es6-symbol/is-native-implemented.js
+++ b/tools/eslint/node_modules/es6-symbol/is-native-implemented.js
@@ -2,7 +2,4 @@
'use strict';
-module.exports = (function () {
- if (typeof Symbol !== 'function') return false;
- return (typeof Symbol() === 'symbol');
-}());
+module.exports = typeof Symbol === 'function' && typeof Symbol() === 'symbol';