how do i change the value of a variable to lower case characters in a javascript script?

i am familiar with php you can use the strtolower() but for javascript, i am not sure