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:

That is a very good question. It appears that the and Notes should never have been in the challenge title. It seems the title has been that way for quite a long time.

1 Like