myString.toLowerCase() in ECMAScript 262

Return a lowercase version of the string.

Return Type
String

Description

Note that the original string is not modified.

var msg = "Hello Visitor #589, how are You?";
var msg2 = msg.toLowerCase();
// ** msg2 is "hello visitor #589, how are you?"
// ** msg is still "Hello Visitor #589, how are You?"