Invalid Or Unexpected Token.

104 viewsEthereumether ethereum ethereumwallet
0

while checking the balance of account in local Ethereum development  I am getting this error Invalid or Unexpected Token .
i am using web3 for the api

web3.fromWei(web3.eth.getBalance(‘0xf17f52151ebef6c7334fad080c5704d77216b732’), ‘ether’).toNumber()

Where is the issue ?

Edited question