Question #195

Author: admin
tags: JavaScript  
const set = new Set([1, 2, 3, 1, 2, 3]);
const arr = [...set];
console.log(arr); // ???
What will be printed?
[[1, 2, 3, 1, 2, 3]]
[1, 1, 2, 2, 3, 3]
[1, 2, 3, 1, 2, 3]
[1, 2, 3]
A Set object stores unique values of any type.
Rate the difficulty of the question:
easyhard