Coding task · Blockchain and Web3 course · Module 1: Blockchain Fundamentals
Write a function that adds a new block to the chain.
Complete the addBlock function that adds a block to the chain array