Coverting your age into dog years


#1

hi
I need help with this part of the code, what is the meaning of this:

‘Remove Capital Letters’.toLowerCase();


#2

the name of the toLowerCase method is a pretty big clue, it will convert the string to all lowercase letters:

console.log('Remove Capital Letters'.toLowerCase());

if you don’t know something, you can always include a console.log() to see what it does


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.