How to use .toLowerCase() function in Javascript
By FoxLearn 12/18/2024 7:33:11 AM 50
The `.toLowerCase()` function in JavaScript is used to convert a string to lowercase letters. It is a built-in method that can be applied to any string variable or literal.
Here's an example:
let str = "Hello World"; console.log(str.toLowerCase()); // Output: "hello world"
Categories
Popular Posts
Freedash bootstrap lite
11/13/2024
Dashboardkit Bootstrap
11/13/2024
Material Lite Admin Template
11/14/2024
Stisla Admin Dashboard Template
11/18/2024