1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// Compiled function TestCase(a) { } // Not compiled (try) function reportCompare (actual) { TestCase(actual); try { } catch(ex) { } } // Compiled function addThis(bound) { actualvalues[bound] = undefined + actual; reportCompare(actualvalues[bound]); } var actual = ''; var actualvalues = []; addThis(0); actual = NaN; addThis(1);