blob: cceaecf51ff107a840d48bab4e9947fe2edca9d2 [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 test0(a) {
a[0]();
}
var a = new Uint32Array(1);
try {
test0(a);
}
catch(ex) {
}
try {
test0(a);
}
catch(ex) {
WScript.Echo(ex.message);
}