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.
		
		
		
		
		
			
		
			
				
					16 lines
				
				632 B
			
		
		
			
		
	
	
					16 lines
				
				632 B
			| 
											3 years ago
										 | import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js"; | ||
|  | export default function _objectWithoutProperties(source, excluded) { | ||
|  |   if (source == null) return {}; | ||
|  |   var target = objectWithoutPropertiesLoose(source, excluded); | ||
|  |   var key, i; | ||
|  |   if (Object.getOwnPropertySymbols) { | ||
|  |     var sourceSymbolKeys = Object.getOwnPropertySymbols(source); | ||
|  |     for (i = 0; i < sourceSymbolKeys.length; i++) { | ||
|  |       key = sourceSymbolKeys[i]; | ||
|  |       if (excluded.indexOf(key) >= 0) continue; | ||
|  |       if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; | ||
|  |       target[key] = source[key]; | ||
|  |     } | ||
|  |   } | ||
|  |   return target; | ||
|  | } |