Use array.valueOf with a two dimensional array : valueOf : Array JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Array » valueOf »

 

Use array.valueOf with a two dimensional array

















<html>
    <script language="JavaScript">
    <!--
    numbers = new Array(3,6,7);
    colors = new Array("Blue","Green","Red",numbers);
    document.write(colors.valueOf())
    -->

    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Array
» valueOf