blob: 84fa9004b6a7efff59d746046b5c06c98ee9f1dd [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function test() {
function nested() {
eval(""); // eval here makes test's scope a non-dynamic object scope
}
/**bp:locals()**/
let l = 10;
/**bp:locals()**/
const c = 20;
/**bp:locals(),evaluate('c=30'),locals()**/
}
test.apply({});
WScript.Echo("PASSED");