.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / native-symbol.js
1 var IS_NODE = require('../internals/engine-is-node');
2 var V8_VERSION = require('../internals/engine-v8-version');
3 var fails = require('../internals/fails');
4
5 module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
6   /* global Symbol -- required for testing */
7   return !Symbol.sham &&
8     // Chrome 38 Symbol has incorrect toString conversion
9     // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
10     (IS_NODE ? V8_VERSION === 38 : V8_VERSION > 37 && V8_VERSION < 41);
11 });