Finally in Promises & Try/Catch

added by JavaScript Kicks
9/19/2018 6:10:48 AM

729 Views

Lately, I've been experimenting more with the async/ await keywords in JavaScript. I noticed that I sometimes struggle to reconcile the strategies I use with Promises with the way I need to write code in the newer syntax. Most recently, I was playing around with finally in some try/ catch blocks and came upon some behavior I didn't expect.


0 comments