// Copyright 2016 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.(function(){functionf(){{functionf(){return42}}functiong(){returnf}returng;}varg=f();varinner_f=g();assertEquals(42,inner_f());})();(function(){vary=100;varz=(functiony(){returny;});assertEquals(z,z());})();