mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-09-04 05:10:13 +00:00
- slim/slim: ^3.1 - symfony/expression-language: ^3.4 - fxp/composer-asset-plugin: ~1.3 - bower-asset/vue: ^2.5 - bower-asset/vue-resource: ^1.5
18 lines
487 B
JavaScript
18 lines
487 B
JavaScript
/**
|
|
* @file Tests if ES6 Symbol is supported.
|
|
* @version 1.4.2
|
|
* @author Xotic750 <Xotic750@gmail.com>
|
|
* @copyright Xotic750
|
|
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
|
* @module has-symbol-support-x
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/**
|
|
* Indicates if `Symbol`exists and creates the correct type.
|
|
* `true`, if it exists and creates the correct type, otherwise `false`.
|
|
*
|
|
* @type boolean
|
|
*/
|
|
module.exports = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';
|