demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/has-symbols-1.1.0/index.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/has-symbols-1.1.0/index.js
Status
scanned
Type
file
Name
index.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
447 (447 bytes)
MD5
bb20512ea32380da82f985d841333793
SHA1
9b49792f7f9730f6f6b37cfb31917f684adf8645
SHA256
fd9bef8dd0d913bc8beac3156a0019d1a83a6e091498d1af1cbdbd536776e189
SHA512

      
    
SHA1_git
fa65265a9d45a38560d60c71f0a3305802c39365
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
index.js | 447 bytes |

'use strict'; var origSymbol = typeof Symbol !== 'undefined' && Symbol; var hasSymbolSham = require('./shams'); /** @type {import('.')} */ module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; } if (typeof Symbol !== 'function') { return false; } if (typeof origSymbol('foo') !== 'symbol') { return false; } if (typeof Symbol('bar') !== 'symbol') { return false; } return hasSymbolSham(); };
Package URL License Primary language
pkg:npm/has-symbols@1.1.0 mit JavaScript
pkg:npm/acme-demo-app@1.0.0 JavaScript