Freemote Logo

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());
Tags:
javascript
☾☾☾
+++++++++
Level Up Your Coding Skills

JavaScript Cheat Sheet

Remember the essentials of 5 different languages, it's free.