Q:

What will be the output of the following code
const arr=new set([1,2,2,3,3,4,4,4,4,5,6])
console.log(arr)

(A) [1,2,3]
(B) [1,2,3,4,5,6]
(C) [5,6]
(D) None of the above

WEB TECHNOLOGIES QUESTIONS

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.