DEV Community

Discussion on: JavaScript: Data Structures (Part 2 - Sets)

Collapse
 
changzhao profile image
Chang Zhao

Is there an error?

const letters = new Set ( ) .add ( ‘the’) .add (‘quick’) .add (‘brown’) .add (‘fox’)
words

Did you mean "const words"?