[Javascript] custom extension of Array object

james james at southspace.org
Wed Apr 13 17:12:33 CDT 2005


Hi

My second question of the night. :-)

ok.. what I am wanting to do it this, I want to create a custom object 
which inherits all the methods of the Array object, but I don't want to 
alter the normal Array objects.

does this make sense?, the way I see it is that I make my custom object a 
'subclass' of the Array object.

I can't figure out how to do it and i keep getting errors.

I would gratefully receive any advice, even if it was to tell me what I am 
trying to do is stupid!

Thanks

James




More information about the Javascript mailing list