Console.log with .toUppercase does not work. Help please?

Can someone please explain why my console.log will not .toUppercase
I have followed the walkthrough video and when he uses the .toUppercase in the video it works but when i use the same console,log it comes back as ‘not a function’.
Thankyou

Are you sure you’ve spelt it correctly? The correct spelling is:

.toUpperCase()

Is that what you wrote?

Thankyou. I should know by now that ‘case’ should have a capital C!!

I made sure ‘upper’ had a capital and didn’t think about ‘case’

1 Like