blob: 495414e8354e7329a2753469e22399d276bb5415 [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 check(cond, test)
{
if(!cond)
{
WScript.Echo("Failed test: " + test);
}
}
var f = new Boolean(false);
check( (f==false), "f equals false");
check( (f!==false), "f strict-not-equals false");
check( (!f==false), "!f equals false");
WScript.Echo("done");