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
				
				404 B
			
		
		
			
		
	
	
					12 lines
				
				404 B
			| 
								 
											3 years ago
										 
									 | 
							
								// 26.1.4 Reflect.deleteProperty(target, propertyKey)
							 | 
						||
| 
								 | 
							
								var $export = require('./_export');
							 | 
						||
| 
								 | 
							
								var gOPD = require('./_object-gopd').f;
							 | 
						||
| 
								 | 
							
								var anObject = require('./_an-object');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$export($export.S, 'Reflect', {
							 | 
						||
| 
								 | 
							
								  deleteProperty: function deleteProperty(target, propertyKey) {
							 | 
						||
| 
								 | 
							
								    var desc = gOPD(anObject(target), propertyKey);
							 | 
						||
| 
								 | 
							
								    return desc && !desc.configurable ? false : delete target[propertyKey];
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								});
							 |