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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #Javscript #Async #Function
ADD COMMENT
Topic
Name
6+4 =