You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							713 B
						
					
					
				
			
		
		
	
	
							13 lines
						
					
					
						
							713 B
						
					
					
				| /* eslint-disable es-x/no-symbol -- required for testing */ | |
| var V8_VERSION = require('../internals/engine-v8-version'); | |
| var fails = require('../internals/fails'); | |
| 
 | |
| // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing | |
| module.exports = !!Object.getOwnPropertySymbols && !fails(function () { | |
|   var symbol = Symbol(); | |
|   // Chrome 38 Symbol has incorrect toString conversion | |
|   // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances | |
|   return !String(symbol) || !(Object(symbol) instanceof Symbol) || | |
|     // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances | |
|     !Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
| });
 | |
| 
 |