Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 assertThrows(() => { | 5 assertThrows(() => { |
| 6 new class extends Object { | 6 try { throw {} } catch({a=b, b}) { a+b } |
|
adamk
2016/07/12 21:15:22
Can you also add a test case where we do a hole ch
| |
| 7 constructor() { (() => delete super[super()])(); } | |
| 8 } | |
| 9 }, ReferenceError); | 7 }, ReferenceError); |
| OLD | NEW |