debian-mirror-gitlab/core-js/internals/use-symbol-as-uid.js
2019-12-04 20:38:33 +05:30

7 lines
221 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() == 'symbol';