* Gets an expression that points to the global "Symbol" constructor at runtime if it is * available.
()
| 93043 | * available. |
| 93044 | */ |
| 93045 | function getGlobalSymbolNameWithFallback() { |
| 93046 | return factory.createConditionalExpression(factory.createTypeCheck(factory.createIdentifier("Symbol"), "function"), |
| 93047 | /*questionToken*/ undefined, factory.createIdentifier("Symbol"), |
| 93048 | /*colonToken*/ undefined, factory.createIdentifier("Object")); |
| 93049 | } |
| 93050 | /** |
| 93051 | * Gets an expression that points to the global "BigInt" constructor at runtime if it is |
| 93052 | * available. |
no outgoing calls
no test coverage detected