This project is archived and is in readonly mode.

#861 ✓invalid
Nic Bell

Array can be extend except in IE6

Reported by Nic Bell | March 2nd, 2010 @ 11:38 AM

I'm not sure if Array is meant to be extended as it is a native not a Class. I thought I'd flag this just in case because it's working in all the other browsers.

//Extending array doesn't work in IE6 - Core 1.2.4

var GreatArray = new Class({ Extends: Array });
var i = new Array();
var gi = new GreatArray();

alert('Array length - ' + i.length + '\nExtend Array length - ' + gi.length);
//Returns: 2,2 in IE6 2,0

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins