Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript return value from async function

var result = async_function(input).then(res=>console.log(res))
Source by web.dev #
 
PREVIOUS NEXT
Tagged: #javascript #return #async #function
ADD COMMENT
Topic
Name
3+7 =