Array Power, Part III - DHTML Lab
Array Power, Part III
bringing the IE (and sometimes the Navigator) Array object up to par
|This column is part of the DHTML Lab thread:|
Creating a Web Application
It can be appreciated by users of any browser, any version.|
In-page examples will work only in Explorer 4+ and Navigator 4+.
In our last column, Array Power, Part II, we continued prototyping Array object methods built-in to Netscape Navigator but missing from Internet Explorer.
Using the prototype property of the Array object, we created two new methods for Explorer, aligning it to the Navigator and ECMAScript standard:
push() and pop()
In this column, the final one of three devoted to the topic, we'll look at the complex splice() method.
An understanding of the functionality of the built-in (to both browsers) slice() method for the Array object. We will be using this method in our functions. See the documentation at Netscape or Microsoft.
First, let's see what splice() does.
Produced by Peter Belesis andAll Rights Reserved. Legal Notices.
Created: May 16, 2000
Revised: May 16, 2000