Coverting your age into dog years


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

‘Remove Capital Letters’.toLowerCase();


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


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