Character case in JavaScript

Given the string 'js'. Convert it to the string 'JS'.

Given the string 'JS'. Convert it to the string 'js'.

enru