Spread and what notes in Set ES5?

quicky:
what’s the meaning of ‘notes’ in the challenge title?
maybe a bit more:
how is it integrated in ES5? something to do with putting it in an array?

function checkSet(set){
return [...set]
}
var set = new Set([1,2,3])
console.log(
checkSet(set)
)
 **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Safari/537.36

Challenge: Use Spread and Notes for ES5 Set() Integration

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.