await - JavaScript | MDN
转载:await - JavaScript | MDN
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async function or a JavaScript module.
# Syntax
1await expression;
# Parameters
expression
A Promise or any value to wait for.
# Return value
The fulfillment...
more...