mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			587 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			587 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2015 the V8 project authors. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
/*---
 | 
						|
es6id: 26.1.12
 | 
						|
description: >
 | 
						|
  Reflect.preventExtensions.length value and property descriptor
 | 
						|
includes: [propertyHelper.js]
 | 
						|
features: [Reflect]
 | 
						|
---*/
 | 
						|
 | 
						|
assert.sameValue(
 | 
						|
  Reflect.preventExtensions.length, 1,
 | 
						|
  'The value of `Reflect.preventExtensions.length` is `1`'
 | 
						|
);
 | 
						|
 | 
						|
verifyNotEnumerable(Reflect.preventExtensions, 'length');
 | 
						|
verifyNotWritable(Reflect.preventExtensions, 'length');
 | 
						|
verifyConfigurable(Reflect.preventExtensions, 'length');
 |