// Copyright 2015 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.'use strict';letxxx=1;letf=undefined;{letinner_x=xxx;f=function(){returninner_x;};}assertSame(1,f());xxx=42;{f=function(){returninner_x1;};letinner_x1=xxx;}assertSame(42,f());xxx=31;{letinner_x1=xxx;try{thrownewError();}catch(e){f=function(){returninner_x1;};}}assertSame(31,f());