Hi everyone!
I’m going through the Javascript curriculum, and ran into some trouble in this golf code challenge. The system says I failed every test, however when i input parameters myself, they show up correctly in the console. Basically, I’m using the first 3 conditions to catch exceptions that the final block of code wouldn’t be able to handle. I’m not sure why it’s wrong. Any help would be appreciated