var Tx = require('ethereumjs-tx').Transaction
var Web3 = require('web3')
web3 = new Web3('https://mainnet.infura.io/v3/a47d55XXXXXXXXXXX')
var balance1 = web3.eth.getBalance('0x0539B9c9C886e93778542XXXC64cb5EAfB902b1')
console.log(balance1)
When I run this in the command prompt:
C:\Users\HP\path
node file.js
Promise { <pending> }
Why does this happen all the time? I have never executed a transaction because all of them are "pending"