diff --git a/Chapter 12/try catch throw b/Chapter 12/try catch throw deleted file mode 100644 index 42613ec..0000000 --- a/Chapter 12/try catch throw +++ /dev/null @@ -1,15 +0,0 @@ -function test(val) { - try { - if (isNaN(val)) { - throw "Not a number"; - } else { - console.log("Got number"); - } - } catch (e) { - console.error(e); - } finally { - console.log("Done " + val); - } -} -test("a"); -test(100);