JavaScript try...catch
Try catch confused me for a long time, both how you use it and why you use it. Let's start with how.
It's like if else, but not
If you were to write try catch as an if else, it would look like this:
if(it works) {
do something
} else {
show an er...
blog.nicm42.me.uk2 min read