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.

has-symbol-support-x.js 1.4KB

12345678910111213141516171819202122
  1. (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(_dereq_,module,exports){
  2. /**
  3. * @file Tests if ES6 Symbol is supported.
  4. * @version 1.4.2
  5. * @author Xotic750 <Xotic750@gmail.com>
  6. * @copyright Xotic750
  7. * @license {@link <https://opensource.org/licenses/MIT> MIT}
  8. * @module has-symbol-support-x
  9. */
  10. 'use strict';
  11. /**
  12. * Indicates if `Symbol`exists and creates the correct type.
  13. * `true`, if it exists and creates the correct type, otherwise `false`.
  14. *
  15. * @type boolean
  16. */
  17. module.exports = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';
  18. },{}]},{},[1])(1)
  19. });