Problem with console.log(set) JAVASCRIPT

Can someone please explain why the console.log() doesn’t log the the set object but instead it logs {}:

let hello = new Set();
console.log(hello);//returns {}

Forking fine for me on both FF and Chrome,
perhaps there are some other factors at play? :thinking:

are you using the freeCodeCamp console? that works well enough, but you should upgrade to the browser console


Yeah, talking about the FCC console, does it work? or there is a problem in it?

the code works, the fcc console doesn’t show a set tho
my screenshot is from the browser console

Alright, so probably the FCC console is buggy…

the freeCodeCamp console is not a fully fledged console, it works for some things, not everything is coded in it

you can report it as a bug if you want

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.