You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 487B

123456789101112131415161718
  1. /**
  2. * @file Tests if ES6 Symbol is supported.
  3. * @version 1.4.2
  4. * @author Xotic750 <Xotic750@gmail.com>
  5. * @copyright Xotic750
  6. * @license {@link <https://opensource.org/licenses/MIT> MIT}
  7. * @module has-symbol-support-x
  8. */
  9. 'use strict';
  10. /**
  11. * Indicates if `Symbol`exists and creates the correct type.
  12. * `true`, if it exists and creates the correct type, otherwise `false`.
  13. *
  14. * @type boolean
  15. */
  16. module.exports = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';