Home » JavaScript String toLowerCase() Method

JavaScript String toLowerCase() Method

by Online Tutorials Library

JavaScript String toLowerCase() Method

The JavaScript string toLowerCase() method is used to convert the string into lowercase letter. This method doesn’t make any change in the original string.

Syntax

The toLowerCase() method is represented by the following syntax:

Return

String in lowercase letter.

JavaScript String toLowerCase() Method Example

Let’s see some simple examples of toLowerCase() method.

Example 1

Here, we will print the string in lowercase letter.

Test it Now

Output:

tutoraspire  

Example 2

This is one more example to print the string in lower case letter.

Test it Now

Output:

tutoraspire tutorials  

Next TopicJavaScript String

You may also like