mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 11:44:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			638 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			638 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-hasproperty-p
 | |
| description: >
 | |
|     Behavior of the [[HasProperty]] internal method with a symbol argument that
 | |
|     can be found
 | |
| info: |
 | |
|     1. If Type(P) is Symbol, return OrdinaryHasProperty(O, P).
 | |
| flags: [module]
 | |
| features: [Symbol.toStringTag, Reflect]
 | |
| ---*/
 | |
| 
 | |
| import * as ns from './has-property-sym-found.js';
 | |
| 
 | |
| assert(Symbol.toStringTag in ns, 'in: Symbol.toStringTag');
 | |
| assert(Reflect.has(ns, Symbol.toStringTag), 'Reflect.has: Symbol.toStringTag');
 |