diff options
author | Rich Trott <rtrott@gmail.com> | 2017-04-01 22:57:53 -0700 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-05-02 20:01:06 +0200 |
commit | 736a736ed5d5cf054456a74cea56a00904c33f4a (patch) | |
tree | d5c43f9d55289ed675c8ac8df81eff8ee6167305 /tools/eslint/node_modules/es6-symbol/is-native-implemented.js | |
parent | 312091a1968856a86512ec5819b52568d0f5aa8a (diff) | |
download | node-new-736a736ed5d5cf054456a74cea56a00904c33f4a.tar.gz |
tools: update ESLint to 3.19.0
Backport-PR-URL: https://github.com/nodejs/node/pull/12504
PR-URL: https://github.com/nodejs/node/pull/12162
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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'; |