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
				
				404 B
			
		
		
			
		
	
	
					14 lines
				
				404 B
			| 
								 
											3 years ago
										 
									 | 
							
								var dP = require('./_object-dp');
							 | 
						||
| 
								 | 
							
								var anObject = require('./_an-object');
							 | 
						||
| 
								 | 
							
								var getKeys = require('./_object-keys');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {
							 | 
						||
| 
								 | 
							
								  anObject(O);
							 | 
						||
| 
								 | 
							
								  var keys = getKeys(Properties);
							 | 
						||
| 
								 | 
							
								  var length = keys.length;
							 | 
						||
| 
								 | 
							
								  var i = 0;
							 | 
						||
| 
								 | 
							
								  var P;
							 | 
						||
| 
								 | 
							
								  while (length > i) dP.f(O, P = keys[i++], Properties[P]);
							 | 
						||
| 
								 | 
							
								  return O;
							 | 
						||
| 
								 | 
							
								};
							 |