Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.then function

we can only use await keyword before a function that

returns either a promise or is itself async.

Note: we can use async function or function returning
a Promise with .then()
Source by lucymarmitchell.medium.com #
 
PREVIOUS NEXT
Tagged: #function
ADD COMMENT
Topic
Name
7+5 =