async
The async function keyword can be used to define async functions inside expressions. async function expression (MDN)
Links about async
JavaScript async and await in loops | Zell Liew
I share some gotchas you have to watch out for when you use async and await in loops.
async function expression
The async function keyword can be used to define async functions inside expressions.
Code sample
async function f3() {
var y = await 20;
console.log(y); // 20
}
Explore other pages
- list-style-type
Specifies a list item’s marker.
- scroll-snap-type
Specifies whether a scroll container is a scroll snap container, how strictly it snaps, and which axes are considered.
- section
Represents a generic section of a document or application.
- rel
Defines the type of link.