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

JavaScript Coding Exercise 25

Advertisement

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

Choose the correct output:

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

Advertisement

Responsive Ad
24of86