On Feb 2, 2:05 am, Matthieu Riou <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I think I've found a small bug in the Array.function shortcut (instead
> of Array.prototype.function.call(...)). Here is the testcase:
>
> js> var Constr = function() {};
> js> Constr.prototype = [];
> js> c = new Constr();
> js> c.push(1);
> 1
> js> c.push(2);
> 2
> js> Array.push(c,3);
> 4
> js> c
> 1,2
>
> Let me know if you'd like me to file a Bugzilla issue. With a few
> pointers I don't mind looking into it but it's probably going to be
> quicker for you to fix it anyway :)
>
> Thanks,
> MatthieuThanks-- this is now fixed in CVS. --N _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
