Garmaine Staff asked 2 years ago

I am trying out some third party JavaScript.

Let's say I import an ES6 module in a Chrome dev tools console:

import('https://unpkg.com/web3/dist/web3.js').then(module => console.log(module));

It gives me:

Module {Symbol(Symbol.toStringTag): "Module"}
Symbol(Symbol.toStringTag): "Module"

Is there a way for me to introspect the module contents from the JavaScript console, so that I can see what exports the module offers me to import and use?