1 2 3 4 5 6 7 8 9 10 11 12 13
function startTest() {}; try { } catch(ex) { actual = ex + ''; } var actual = 'no error'; var prefValue; DESCRIPTION = "var class = true"; EXPECTED = "error"; foo(EXPECTED[prefValue], DESCRIPTION[prefValue], startTest[prefValue]); function foo() {}