I'm reading a Design patterns book, and I'm playing around with some code to get a better understanding of how to implement different patterns. There's an example in the book that uses about 4 nested try/ catch statements.
try{
...
} catch(e){
try{
...
} catch (e) {
try{
So I thought what a great time to use a self-referential function.
However I can't seem to get it to work. Does anyone have insight as
to how/if at all, this could work?
http://jsfiddle.net/jiggliemon/a7xWq/2/
