| //------------------------------------------------------------------------------------------------------- |
| // Copyright (C) Microsoft. All rights reserved. |
| // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. |
| //------------------------------------------------------------------------------------------------------- |
| |
| // |
| // Test uncaught exception source info |
| // |
| function dummy() { |
| // do nothing |
| } |
| |
| dummy(); |
| var obj = { |
| get foo() { // This needs -Version:3 |
| dummy(); |
| throw 123; //12,9 |
| dummy(); |
| } |
| }; |
| obj.foo; //12,1 |
| dummy(); |