blob: 154c6f4bf4be760ae66e7742fd03487ba2697a63 [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.
//-------------------------------------------------------------------------------------------------------
const x = "let x";
Object.seal(this);
try {
Object.defineProperty(this, 'x', {value:'20', configurable: true });
}
catch(e) {
WScript.Echo("exception: " + e);
}
WScript.Echo(x);
WScript.Echo(this.x);
WScript.Echo(Object.isSealed(this));