Code Buckets

Buckets of code

Reliable console.log output for JavaScript ES6 Map and Set

Problem Here’s something that has tripped me up a few times now – when you console.log out the contents of a Set or Map in ES6 the it looks empty which isn’t true. Example Output The console tells me it…