{"id":3343,"date":"2016-07-21T10:00:33","date_gmt":"2016-07-21T10:00:33","guid":{"rendered":"https:\/\/kiencang.net\/?p=3343"},"modified":"2016-07-21T10:00:33","modified_gmt":"2016-07-21T10:00:33","slug":"cac-loi-trong-javascript-throw-va-try-roi-catch","status":"publish","type":"post","link":"https:\/\/kiencang.net\/cac-loi-trong-javascript-throw-va-try-roi-catch\/","title":{"rendered":"C\u00e1c l\u1ed7i trong JavaScript – Throw v\u00e0 Try r\u1ed3i Catch"},"content":{"rendered":"\n

C\u00e1c c\u00e2u l\u1ec7nh try<\/strong> cho ph\u00e9p b\u1ea1n th\u1eed nghi\u1ec7m m\u1ed9t kh\u1ed1i m\u00e3 l\u1ed7i.<\/p>\n\n\n\n

C\u00e1c c\u00e2u l\u1ec7nh catch<\/strong> cho ph\u00e9p b\u1ea1n x\u1eed l\u00fd c\u00e1c l\u1ed7i.<\/p>\n\n\n\n

C\u00e1c c\u00e2u l\u1ec7nh throw<\/strong> cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c l\u1ed7i t\u00f9y ch\u1ec9nh.<\/p>\n\n\n\n

C\u00e1c c\u00e2u l\u1ec7nh finally<\/strong> cho ph\u00e9p b\u1ea1n th\u1ef1c thi m\u00e3, sau khi try<\/strong> v\u00e0 catch<\/strong>, b\u1ea5t k\u1ec3 k\u1ebft qu\u1ea3 th\u1ebf n\u00e0o.<\/p>\n\n\n\n


\n\n\n\n
\n
\n

M\u1ee5c l\u1ee5c<\/p>\n