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.
		
		
		
		
		
			
		
			
				
					12 lines
				
				454 B
			
		
		
			
		
	
	
					12 lines
				
				454 B
			| 
								 
											3 years ago
										 
									 | 
							
								define(['./_createSizePropertyCheck', './_getLength'], function (_createSizePropertyCheck, _getLength) {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									// Internal helper for collection methods to determine whether a collection
							 | 
						||
| 
								 | 
							
									// should be iterated as an array or as an object.
							 | 
						||
| 
								 | 
							
									// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength
							 | 
						||
| 
								 | 
							
									// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094
							 | 
						||
| 
								 | 
							
									var isArrayLike = _createSizePropertyCheck(_getLength);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									return isArrayLike;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								});
							 |