blob: 2bc4392b0b770c29ff7dd619570e69b898dbf6d0 [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.
//-------------------------------------------------------------------------------------------------------
var globalObject = this;
function f1() {
WScript.Echo(eval("\"use strict\";\ntypeof this"));
}
function f2() {
WScript.Echo(eval("\"use strict\";\n this") === globalObject);
}
f1();
f2();