Why is this evaluating to false?

Why is this evaluating to false?
0

#1

before[0] is definitely uppercased, so I’m confused why it’s evaluating to false

function myReplace(str, before, after) {
    console.log(before[0] === before[0].toUpperCase);
}

myReplace("A quick brown fox jumped over the lazy dog", "Jumped", "leaped");

#2

toUpperCase is a function, so you need to add () and the end to execute the function.