Kevin Powell - CommunityKP-C
Kevin Powell - Community16mo ago
62 replies
snxxwyy

async function/promises vs try and catch

Hey, what is the difference between an async function/promise and a try and catch expression? To me, they both seem to be similar due to the error handling, i don't really get the use of the async function in this case, can someone please explain? Thanks in advance.
Was this page helpful?