Message generator

Quite simple project took me about half an hour to complete.
Would kindly appreciate feedback
https://github.com/ahmed-bashir-ai/Message-generator/blob/main/script.js

Hello, and welcome to the forums!

You should test your program by calling the function you wrote and printing the results that it returns.

Example that you can put at the bottom:

console.log(randomize());

The version of the script you posted needs some debugging in order to run. By calling the function you wrote and running the script with node, you will be able to see the error messages.