mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			409 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			409 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2017 Lucas Azzola. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
 | 
						|
/*---
 | 
						|
author: Lucas Azzola
 | 
						|
esid: pending
 | 
						|
description: try/catch syntax with omission of the catch binding
 | 
						|
features: [optional-catch-binding]
 | 
						|
info: |
 | 
						|
  Optional Catch Binding
 | 
						|
 | 
						|
  Catch[Yield, Await, Return]:
 | 
						|
    (...)
 | 
						|
    catch Block[?Yield, ?Await, ?Return]
 | 
						|
---*/
 | 
						|
 | 
						|
try {} catch {}
 |