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

JavaScript Coding Exercise 37

Advertisement

728x90
javascript
1function area({ length = 10, width = 20 }) {
2
3console.log(length * width);
4}
5
6area();

Choose the correct output:

A
200
B
Error
C
undefined
D
0

Advertisement

Responsive Ad
36of86