Hi. I liked the post. Just want to bring something to your attention. In the last example, (where you "race"d promises), the console log is Lauren, but it comes from "then" block, not from "catch" block. I tested it on JSFiddle before posting jsfiddle.net/ma26yrhj/. Nice post overall, just wanted to mention this. Have a nice day. (edit: typo)
Hi. I liked the post. Just want to bring something to your attention. In the last example, (where you "race"d promises), the console log is Lauren, but it comes from "then" block, not from "catch" block. I tested it on JSFiddle before posting jsfiddle.net/ma26yrhj/. Nice post overall, just wanted to mention this. Have a nice day. (edit: typo)
Thanks for pointing it out. Updated!