Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptMap Set WeakMapSingle-choice MCQ

A Set is built from these values. What does spreading it produce?

const s = new Set([NaN, NaN, 0, -0, '0']); console.log([...s]);