My script console.log()s a semi-random greeting to the console, then opens to a random spurious correlation in the user’s default web browser.
Feedback welcome!
My script console.log()s a semi-random greeting to the console, then opens to a random spurious correlation in the user’s default web browser.
Feedback welcome!
Great job!
This code you can make even shorter.
// randomized parameters for output
const rdm_i = () => {
return Math.floor(Math.random() * 4);
}
Something like this:
const rdm_i = () => Math.floor(Math.random() * 4);