Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
341 bytes
|
Line | |
---|
1 | var getBuiltIn = require('../internals/get-built-in');
|
---|
2 | var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
|
---|
3 |
|
---|
4 | module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
---|
5 | return typeof it == 'symbol';
|
---|
6 | } : function (it) {
|
---|
7 | var $Symbol = getBuiltIn('Symbol');
|
---|
8 | return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
|
---|
9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.