blob: 4ff33c31e87673a26f788d896a5189dac4ab140f [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function testcase() {
function foo() {
const x = {a: 1, b: 2, c: 3, }; //extra ,
return ( x.a === 1 && x.b === 2 && x.c === 3 );
}
try {
return foo();
}
catch (e) {
return false;
}
}
WScript.Echo(testcase());