Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

635391 Views

Latest files of /cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols

test/ cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/test/
3 Items
  • tests.js
  • index.js
  • shams/
  • .github/ cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/.github/
    1 Items
  • FUNDING.yml
  • CHANGELOG.md cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/CHANGELOG.md
    134 Views
    0 Comments
    # Changelog

    All notable changes to this project will be documented in this file.

    The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

    ## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01
    README.md cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/README.md
    138 Views
    0 Comments
    # has-symbols <sup>[![Version Badge][2]][1]</sup>

    [![github actions][actions-image]][actions-url]
    [![coverage][codecov-image]][codecov-url]
    [![dependency status][5]][6]
    [![dev dependency status][7]][8]
    [![License][license-image]][license-url]
    [![Downloads][downloads-image]][downloads-url]
    index.js cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/index.js
    123 Views
    0 Comments
    'use strict';

    var origSymbol = typeof Symbol !== 'undefined' && Symbol;
    var hasSymbolSham = require('./shams');

    module.exports = function hasNativeSymbols() {
    if (typeof origSymbol !== 'function') { return false; }
    if (typeof Symbol !== 'function') { return false; }
    LICENSE cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/LICENSE
    198 Views
    0 Comments
    Media file
    package.json cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/package.json
    114 Views
    0 Comments
    {
    "name": "has-symbols",
    "version": "1.0.3",
    "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.",
    "main": "index.js",
    "scripts": {
    "prepublishOnly": "safe-publish-latest",
    "prepublish": "not-in-publish || npm run prepublishOnly",
    shams.js cody/Khushigupta8/Hotel-Management-Webpage/node_modules/has-symbols/shams.js
    125 Views
    0 Comments
    'use strict';

    /* eslint complexity: [2, 18], max-statements: [2, 33] */
    module.exports = function hasSymbols() {
    if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
    if (typeof Symbol.iterator === 'symbol') { return true; }

    var obj = {};