var str = "My Big Boy!" var res = str.toLowerCase(); //res is "my big boy!"
Here is what the above code is Doing:
1. We create a variable called str and assign it the value “My Big Boy!”
2. We create a variable called res and assign it the value of str.toLowerCase()
3. The toLowerCase() method is called on the str variable and the result is assigned to the res variable.