// Copyright 2018 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.functionf1(){lety=200;try{throw{}}catch({x=()=>y,y=300}){returnx()}}assertEquals(300,f1());functionf2(){lety=200;try{throw{}}catch({x=()=>y}){lety=300;returnx()}}assertEquals(200,f2());