Coding task · Blockchain and Web3 course · Module 6: Solidity Basics
Function with Parameters
Create a function that takes a parameter and returns it. Simulation in JavaScript.
Task
Write a setValue function that takes a 'value' parameter and sets the this.storedValue field