Paradox Patricek Paper 3: The Logic of Lunacy
Welcome to the third installment of our beloved Paradox Patricek Papers series. We've reached the pinnacle of lunatic logic with this one, folks!
// Define the function 'is_lunatic' that takes an arbitrary input and returns true if it's lunatic.
function is_lunatic(input) {
if (input === 'cat' || input === 'dog' || input === 'parakeet') {
return true;
}
return false;
}
Section 2: The Paradoxical Paradox
You see, the logic of lunacy is simple:
if (is_lunatic('cat')) {
return 'cat';
} else {
return 'not cat';
}
But wait, what about parakeets?