Picture yourself as an adventurous explorer in the expansive realm of JavaScript. You've just arrived in this new land, and you want to make your presence known. Your task is to craft a magical scroll (a function) named shoutToTheWorld. When this scroll is read (the function is called), it should echo Greetings, realm of JavaScript! across the console valley. For shouting out the message, the function console.log is used. Can you fill in the gaps to complete this magical scroll?
Functions are instructions that are enclosed in curly braces {}. They can be executed when you need to. To do that, you need to call a function – for this purpose, parentheses () are used. So, shoutToTheWorld is the name of the instruction, and shoutToTheWorld() is a call when you want the instruction to be executed.