JavaScript Detect Async Function

added by JavaScript Kicks
4/29/2019 11:30:26 AM

999 Views

JavaScript async/await has changed the landscape of how we code. We're no longer stuck in callback or then hell, and our code can feel more "top down" again. Async functions require the following syntax: async function myFunction() { } To use await with a function, the function needs to be declared with async.


0 comments