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, 0B
0, 0C
0, 1D
1, 1Advertisement
Responsive Ad
86of86
Advertisement
1function func(a, b = 2) {
2
3console.log(arguments.length);
4}
5
6func(undefined);
7
8func();Advertisement