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
				
				348 B
			
		
		
			
		
	
	
					12 lines
				
				348 B
			| 
								 
											4 years ago
										 
									 | 
							
								'use strict';
							 | 
						||
| 
								 | 
							
								var $ = require('../internals/export');
							 | 
						||
| 
								 | 
							
								var ObjectIterator = require('../internals/object-iterator');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// `Object.iterateValues` method
							 | 
						||
| 
								 | 
							
								// https://github.com/tc39/proposal-object-iteration
							 | 
						||
| 
								 | 
							
								$({ target: 'Object', stat: true }, {
							 | 
						||
| 
								 | 
							
								  iterateValues: function iterateValues(object) {
							 | 
						||
| 
								 | 
							
								    return new ObjectIterator(object, 'values');
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								});
							 |