4 ms·
just remember it is just sugar: const a = async () => "hello world" is the same as const b = () => Promise.resolve("hello world")
by blablapromise 5y ago
just remember it is just sugar:
const a = async () => "hello world"
is the same as
const b = () => Promise.resolve("hello world")
- deleted 5y ago[deleted]