DEV Community 👩‍💻👨‍💻

Lakshya Tyagi
Lakshya Tyagi

Posted on

Which method is used to return string in upper case?

Comment your answer in comment

1. upper()
Enter fullscreen mode Exit fullscreen mode
2. upperCase()
Enter fullscreen mode Exit fullscreen mode
3. uppercase()
Enter fullscreen mode Exit fullscreen mode
4. toUpperCase()
Enter fullscreen mode Exit fullscreen mode

Top comments (5)

Collapse
 
dibyadarshan8 profile image
Dibyadarshan Rath

1

Collapse
 
ckpro profile image
Shiva Inampudi

upper()

Collapse
 
pranshuj73 profile image
Pranshu Jha
  1. upper()
Collapse
 
promikecoder2020 profile image
ProMikeCoder2020

1

Collapse
 
sambhavjindalgithub profile image
Sambhav-Jindal-github

upper()

Let's Get Hacking

Join the DEV x Linode Hackathon 2022 and use your ingenuity and creativity to build using Linode.

Join the Hackathon <-