blob: 7a72d5d8e5ee48b41adcb561e025d761768b662e [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));