string constructor in JavaScript

<script type="text/javascript" language="javascript">
<!-- //
onload = function(){
    var s = new String("aaA");
    var upperCase = s.toUpperCase();
    document.write(upperCase);
}
// -->
</script>