Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javscript Async Function

// async function example

async function f() {
    console.log('Async function.');
    return Promise.resolve(1);
}

f();
Source by blog.risingstack.com #
 
PREVIOUS NEXT
Tagged: #Javscript #Async #Function
ADD COMMENT
Topic
Name
5+1 =