I have installed metamask. When I open any page in the browser, go into the console and type web3
I can see that the object is present:
> web3
Proxy { <target>: {…}, <handler>: {…} }
How do I check the version of web3 injected into the page? The command web3.version
fails.