diff options
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.js | 5 |
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'; |