You are viewing a single comment's thread from:

RE: Async / Await - Return values

in #utopian-io6 years ago

The word “async” before a function means one simple thing: a function always returns a promise. If the code has return <non-promise> in it, then JavaScript automatically wraps it into a resolved promise with that value.

Source: https://javascript.info/async-await

I'm in the first group :)

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.027
BTC 60244.17
ETH 2333.72
USDT 1.00
SBD 2.47