106
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.
Output:
tutoraspire
Example 2
This is one more example to print the string in lower case letter.
Output:
tutoraspire tutorials
Next TopicJavaScript String