This code will randomy generate a message when we run it.
Tod do that we have chosen to have a list of objects. To be specific in our code here we will use an array of three objects that will randomnly generate a message or sentence. The messages are constructed by randomly selecting a word from each list in the message object in the array.
In our code we have created the subject, versbs, objects and adverbialPhrases. The message will be generated when we call our function and displayed it in the console.
We will have four branches. The branch is this description The three other will JavaScript codes.