| //------------------------------------------------------------------------------------------------------- |
| // Copyright (C) Microsoft. All rights reserved. |
| // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. |
| //------------------------------------------------------------------------------------------------------- |
| |
| function foo(arg0){ |
| WScript.Echo(" in " + arg0); |
| ui32; |
| try { |
| try { |
| var num = 100; |
| if (arg0 == 1) { |
| num.toPrecision(500); |
| } |
| } |
| finally { |
| if (arg0 == 1) { |
| foo(2); |
| } |
| if (arg0 == 2) { |
| ui32[187953167]; |
| } |
| } |
| } |
| catch(e) { |
| WScript.Echo(e); |
| } |
| WScript.Echo(" done " + arg0); |
| } |
| |
| var ui32 = new Uint32Array(); |
| foo(0); |
| foo(0); |
| foo(1); |
| |