I am trying to learn truffle form the following link:
I am writing the following command at Truffle console to create an instance of the deployed contract but I am getting the message "undefined":
Victim.deployed().then(contract => victim = contract)
truffle(ganache)> truffle version
Truffle v5.1.27 (core: 5.1.27)
Solidity v0.5.16 (solc-js)
Somebody please guide me how to create an instance of contract in Truffle Console?