reading-notes

Software Development Reading Notes

View on GitHub

Error handling and debugging

image

try {
//Try to execute this code
catch (exception) {
//If there is an exception, run this code
finally {
//This always gets executed

throw new Error('message');

-Common errors

go back to basics missed extra characters data type issues

Summary