mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 11:44:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			405 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			405 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright (C) 2018 André Bargull. All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| esid: sec-async-arrow-function-definitions
 | |
| description: >
 | |
|   It is a SyntaxError if FormalParameters' default expressions contains await.
 | |
| negative:
 | |
|   phase: parse
 | |
|   type: SyntaxError
 | |
| features: [async-functions]
 | |
| ---*/
 | |
| 
 | |
| $DONOTEVALUATE();
 | |
| 
 | |
| async(a = (await) => {}) => {};
 |