Learn JavaScript and Ajax with w3schools (continued) </body> </html>
Figure 17.16
N O TE
The unshift() method does not work properly in Internet Explorer, it only returns undefined, as shown in Figure 17.17.
Figure 17.17
You can follow these examples on the w3Schools Web site.
For a complete reference of all the properties and methods that can be used with the Array object, go to the complete Array object reference in Appendix A.
106