// Copyright 2019 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.functionf0(a=eval("var b"),b){}assertThrows(f0,SyntaxError);functionf1(a=eval("var b = 0"),b){}assertThrows(f1,SyntaxError);functionf2(a=eval("function b(){}"),b){}assertThrows(f2,SyntaxError);functionf3(a=eval("{ function b(){} }"),b){returnb}assertEquals(undefined,f3());functionf4(b,a=eval("var b = 0")){returnb}assertThrows(f4,SyntaxError);functionf5(b,a=eval("function b(){}")){returnb}assertThrows(f5,SyntaxError);functionf6(b,a=eval("{ function b(){} }")){returnb}assertEquals(42,f6(42));