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.
		
		
		
		
		
			
		
			
				
					
					
						
							10 lines
						
					
					
						
							359 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							10 lines
						
					
					
						
							359 B
						
					
					
				| 'use strict'; | |
| var classofRaw = require('../internals/classof-raw'); | |
| var uncurryThis = require('../internals/function-uncurry-this'); | |
| 
 | |
| module.exports = function (fn) { | |
|   // Nashorn bug: | |
|   //   https://github.com/zloirock/core-js/issues/1128 | |
|   //   https://github.com/zloirock/core-js/issues/1130 | |
|   if (classofRaw(fn) === 'Function') return uncurryThis(fn); | |
| };
 |