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
0B
UndefinedC
nullD
[ ]Advertisement
Responsive Ad
80of86
Advertisement
1let arr = [1, 2, 3, 4, 5, -6, 7];
2
3arr.length = 0;
4
5console.log(arr);Advertisement