debian-mirror-gitlab/core-js/internals/use-symbol-as-uid.js
2019-12-26 22:10:19 +05:30

7 lines
228 B
JavaScript

var NATIVE_SYMBOL = require('../internals/native-symbol');
module.exports = NATIVE_SYMBOL
// eslint-disable-next-line no-undef
&& !Symbol.sham
// eslint-disable-next-line no-undef
&& typeof Symbol.iterator == 'symbol';