Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
symbol.prototype.description
/
Filename :
polyfill.js
back
Copy
'use strict'; var hasSymbols = require('has-symbols')(); var implementation = require('./implementation'); var gOPD = Object.getOwnPropertyDescriptor; module.exports = function descriptionPolyfill() { if (!hasSymbols || typeof gOPD !== 'function') { return null; } var desc = gOPD(Symbol.prototype, 'description'); if (!desc || typeof desc.get !== 'function') { return implementation; } var emptySymbolDesc = desc.get.call(Symbol()); var emptyDescValid = typeof emptySymbolDesc === 'undefined' || emptySymbolDesc === ''; if (!emptyDescValid || desc.get.call(Symbol('a')) !== 'a') { return implementation; } return desc.get; };