mirror of https://github.com/tc39/test262.git
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 {}
|