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.
		
		
		
		
			
				
					14 lines
				
				465 B
			
		
		
			
		
	
	
					14 lines
				
				465 B
			| 
								 
											4 years ago
										 
									 | 
							
								var check = function (it) {
							 | 
						||
| 
								 | 
							
								  return it && it.Math == Math && it;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
							 | 
						||
| 
								 | 
							
								module.exports =
							 | 
						||
| 
								 | 
							
								  // eslint-disable-next-line no-undef
							 | 
						||
| 
								 | 
							
								  check(typeof globalThis == 'object' && globalThis) ||
							 | 
						||
| 
								 | 
							
								  check(typeof window == 'object' && window) ||
							 | 
						||
| 
								 | 
							
								  check(typeof self == 'object' && self) ||
							 | 
						||
| 
								 | 
							
								  check(typeof global == 'object' && global) ||
							 | 
						||
| 
								 | 
							
								  // eslint-disable-next-line no-new-func
							 | 
						||
| 
								 | 
							
								  Function('return this')();
							 |