Coding Wiki
Most Common Coding Questions
Find answers to popular programming questions and level up your coding skills
Javascript to lowercase
Convert a string to lowercase in JavaScript using the toLowerCase() method.
Answer:
To convert a string to lowercase in JavaScript, you can use the toLowerCase() method.
javascript
var text = 'Hello World';
console.log(text.toLowerCase());