Coding task · Blockchain and Web3 course · Module 6: Solidity Basics

Creating a Struct

Simulate creating a struct in JavaScript as an object.

Task

Create a person object with the fields name: 'Alice' and age: 25