Advertisement
728x90
javascript
1let [a, ...b, c] = [1, 2, 3, 4, 5];
2
3console.log(a, b, c);Choose the correct output:
A
1, [2, 3, 4, 5]B
1, {2, 3, 4, 5}C
SyntaxErrorD
1, [2, 3, 4]Advertisement
Responsive Ad
23of86
Advertisement
1let [a, ...b, c] = [1, 2, 3, 4, 5];
2
3console.log(a, b, c);Advertisement