Espruino/tests/test_exception_4.js
2014-07-01 15:13:54 +01:00

13 lines
173 B
JavaScript

a = [];
try {
a.push("Before");
} catch (e) {
a.push("Catch");
} finally {
a.push("Finally");
}
a.push("After");
a = a.join(",");
result = a=="Before,Finally,After";