Sha256: c28d8c3b95072d6b1780219efab7eb291df9658245ede10ef11c864e3b778b52
Contents?: true
Size: 599 Bytes
Versions: 39
Compression:
Stored size: 599 Bytes
Contents
'use strict'; module.exports = function () { var symbol; if (typeof Symbol !== 'function') return false; symbol = Symbol('test symbol'); try { String(symbol); } catch (e) { return false; } if (typeof Symbol.iterator === 'symbol') return true; // Return 'true' for polyfills if (typeof Symbol.isConcatSpreadable !== 'object') return false; if (typeof Symbol.iterator !== 'object') return false; if (typeof Symbol.toPrimitive !== 'object') return false; if (typeof Symbol.toStringTag !== 'object') return false; if (typeof Symbol.unscopables !== 'object') return false; return true; };
Version data entries
39 entries across 10 versions & 3 rubygems