Not Able to use let cooldown = new Set();


#1

For some reason. I been trying to do a command that has to require (“new Set();”)
and for some reason it would not work i was wondering if this has to do with the glitch.com website editor it self or its something I’m missing
https://gyazo.com/21ce7c77cf6fafc7ebe8c4e08e4b1c80


#2

Does it actually not work, or is it just a linting warning? If it’s the latter then add /* global Set */ to the top of your code. If it’s not working, make sure you’re using a version of Node that supports Set.


#3

I saw other topics and i fixed it,
it was the liniter.