I'm making slow progress with my self education and I've run into a problem. I'm attempting to get text input from the user. I then want that input to be check against an uppercase version of itself. I'm running the code through labs.codecademy.com(if that is relevant).

Code:

```
function rollerInput() {
    var input = prompt("Do you want to reroll? You have " + rerolls + " rerolls left. Y/N?");
    input = input.toUpperCase;
    if(input === null) {
        console.log("Please enter Y or N");
        rollerInput();
        } else if(input === "") {
            console.log("Please enter Y or N");
            rollerInput();
        } else if(input === "Y" && rerolls !== 1) {
            rerolls = rerolls -1;
            reRoller();
        } else if(input === "Y" && rerolls === 1) {
            console.log("You have no rerolls left.");   
        }
}

```

The issue lies with the ifs that check for Y or N. Neither Y nor y produce any reaction. I'm sure I'm missing something simple, but I can't fix it to save my life.