Welcome, coder. You've been referred here because your code is in a state of utter rot.
We'll try to fix it, but be warned: it won't be pretty.
Session Number: 42
Dr. CodeFix
(Specializing in code rot, code smell, and code-induced trauma)
if (random.random() < 0.5) { console.log('Hello, World!'); } else { console.log('Goodbye, World!'); };
This is what we'll be working with.