JS Coding Questions Logo
JS Coding Questions
#26🎯 Exercise💻 Code

JavaScript Coding Exercise 26

Advertisement

728x90
javascript
1async function func() {
2
3await 10;
4}
5
6console.log(func());

Choose the correct output:

A
Promise {\<fulfilled\>: 10}
B
10
C
SyntaxError
D
Promise {\<resolved\>: undefined}

Advertisement

Responsive Ad
25of86