mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			700 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			700 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2014 the V8 project authors. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
/*---
 | 
						|
es6id: 9.4.4.6 S7
 | 
						|
description: >
 | 
						|
    Unmapped arguments exotic objects should implement the Array iterator
 | 
						|
    protocol.
 | 
						|
includes: [propertyHelper.js]
 | 
						|
flags: [noStrict]
 | 
						|
features: [Symbol.iterator]
 | 
						|
---*/
 | 
						|
 | 
						|
(function() {
 | 
						|
  'use strict';
 | 
						|
  var descriptor = Object.getOwnPropertyDescriptor(arguments, Symbol.iterator);
 | 
						|
 | 
						|
  assert.sameValue(arguments[Symbol.iterator], [][Symbol.iterator]);
 | 
						|
 | 
						|
  verifyNotEnumerable(Array.prototype, Symbol.iterator);
 | 
						|
  verifyWritable(Array.prototype, Symbol.iterator);
 | 
						|
  verifyConfigurable(Array.prototype, Symbol.iterator);
 | 
						|
}());
 |