javascript toUpperCase() method
Translation results:
UK['ʌpəˌkeɪs] US['ʌpəˌkeɪs]
n.Capital letters plate
vt.Printed in capital letters
adj.Capital letters
Third person singular: uppercases Plural: uppercases Present participle: uppercasing Past tense: uppercased Past participle: uppercased
javascript toUpperCase() methodsyntax
Function: is used to convert strings to uppercase.
Syntax: stringObject.toUpperCase()
Returns: A new string in which All lowercase characters in stringObject are converted to uppercase characters.
javascript toUpperCase() methodexample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var str="Hello World!" document.write(str.toUpperCase()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance