re: 13 useful JavaScript array tips and tricks you should know VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You spread Set into an array, so array won't have has method on it. Small bug on your side.
 

Oh you're right, first line should have been:

let firstValues = new Set(numOne);

Thanks for pointing that up

code of conduct - report abuse