toLowerCase()

var surname = "Smith"
surname = surname.toLowerCase()
// the variable surname will contain the value "smith"

Close