r/learnjavascript • • May 14 '21

Remove Duplicate Value from array

Post image
234 Upvotes

89 comments sorted by

View all comments

3

u/Budget_Instruction49 May 14 '21

'Set ' a state ? or its just set ?

2

u/slowthedataleak May 14 '21

Not sure that I understand your question but what's happening here is the array is being duplicated into a Set type.

4

u/StoneCypher May 14 '21

He's asking whether the word "set" is being used to mean assign or whether it's being used to refer to the container type

He's from India, and English isn't his first language. Homophones can be confusing

2

u/[deleted] May 14 '21

Not sure why you got downvoted but then again this is reddit