EDITABLE CODE:
LiveDemo: JavaScript String Object : String Case Methods
Note:The locale methods implement particular locale specific methods.