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

JavaScript Coding Exercise 85

Advertisement

728x90
javascript
1function func(a, b = 2) {
2
3console.log(arguments.length);
4}
5
6func(undefined);
7
8func();

Choose the correct output:

A
1, 0
B
0, 0
C
0, 1
D
1, 1

Advertisement

Responsive Ad
85of86