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

JavaScript Coding Exercise 80

Advertisement

728x90
javascript
1let arr = [1, 2, 3, 4, 5, -6, 7];
2
3arr.length = 0;
4
5console.log(arr);

Choose the correct output:

A
0
B
Undefined
C
null
D
[ ]

Advertisement

Responsive Ad
80of86