toUpperCase() in JavaScript

<script language="JavaScript">
    <!--
    var myString = new String(prompt("Please enter some various case text", ""));

    document.write(myString.toUpperCase());

    document.close();

    -->

    </script>