mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 11:44:31 +01:00 
			
		
		
		
	Assert correct behavior of the own properties of module namespace objects and the essential internal methods of module namespace exotic objects.
		
			
				
	
	
		
			19 lines
		
	
	
		
			568 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			568 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright (C) 2016 the V8 project authors. All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| /*---
 | |
| esid: sec-module-namespace-exotic-objects-get-p-receiver
 | |
| description: >
 | |
|     Behavior of the [[Get]] internal method with a symbol argument that cannot
 | |
|     be found
 | |
| info: |
 | |
|     [...]
 | |
|     2. If Type(P) is Symbol, then
 | |
|        a. Return ? OrdinaryGet(O, P, Receiver).
 | |
| flags: [module]
 | |
| features: [Symbol]
 | |
| ---*/
 | |
| 
 | |
| import * as ns from './get-sym-not-found.js';
 | |
| 
 | |
| assert.sameValue(ns[Symbol('test262')], undefined, 'Symbol: test262');
 |