Metamask (Chrome extension) web3.js console: ETH transaction issue (synchronous methods) + web3.version

I am playing around with Metamask and the web3.js API using the Google Chrome console. However, I have two issues: 1) I am trying to send a simple transaction using Ganache GUI (localhost 7545) and I am entering the code below: > ethereum.enable() > web3.currentProvider.selectedAddress <.”0xb8662b66584ae08a88341df0d2b3fa7a65eb158c” > var transaction = { from: web3.currentProvider.selectedAddress, to: “0xA8b62F503181D9A56683129de1B98ea4Bf143a40”,…

Details