JavaScript String toUpperCase() method
- Raba page toString()
- Bugu page trim()
- Raba dake Manuel da JavaScript String
Definition and usage
toUpperCase()
The method converts the string to uppercase letters.
toUpperCase()
The method does not change the original string.
See also:
Example
Convert to uppercase:
let text = "Hello World!"; let result = text.toUpperCase();
Syntax
string.toUpperCase()
Parameter
No parameters.
Return value
Type | Description |
---|---|
String | Convert to uppercase string. |
Browser support
toUpperCase()
Ita ECMAScript1 (ES1) characteristics.
All browsers fully support ES1 (JavaScript 1997):
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Gudanarwa | Gudanarwa | Gudanarwa | Gudanarwa | Gudanarwa | Gudanarwa |
- Raba page toString()
- Bugu page trim()
- Raba dake Manuel da JavaScript String