IPFS js API under the hood

I’m wondering what happens in the browser when instantiate “new IPFS()” in js script