How to use JavaScript toUpperCase

In this article we will discuss about how to use the toUpperCase() Method in JavaScript.
  • 2405

This is the most important method of the string object in JavaScript. This method returns the string in the form of capital letters means it returns the string in the form of uppercase. This method is used to convert the lowercase string into uppercase string and this does not take any argument.

JavaScript Code:



<title>Example of JavaScript String toUpperCase() Method</title>



<script type="text/javascript">

var st = "God is great, and He is everywhere.";document.write(st.toUpperCase( ));






Ask Your Question 

Got a programming related question? You may want to post your question here


More Articles

© 2020 DotNetHeaven. All rights reserved.