Advertisement
728x90
javascript
1async function func() {
2
3await 10;
4}
5
6console.log(func());Choose the correct output:
A
Promise {\<fulfilled\>: 10}B
10C
SyntaxErrorD
Promise {\<resolved\>: undefined}Advertisement
Responsive Ad
25of86
Advertisement
1async function func() {
2
3await 10;
4}
5
6console.log(func());Advertisement