JavaScript Tutorial/Operators/new
new
The new operator is used to create a new object.
<html>
<body>
<script language="JavaScript">
<!--
var myArray = new Array();
-->
</script>
</body>
</html>
The new operator is used to create a new object.
<html>
<body>
<script language="JavaScript">
<!--
var myArray = new Array();
-->
</script>
</body>
</html>