What will be the output of the following code snippet
const arr=[1,2,3,4,5]
console.log(…arr)
(A) [1 2 3 4 5]
(B) …[1 2 3 4 5]
(C) 1 2 3 4 5
(D) …1 2 3 4 5
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.