Agreed, this is a problem. Which compatibility appendix item did you think might apply? None of them were intended to cover this situation.
Allen >-----Original Message----- >From: [email protected] [mailto:es-discuss- >[email protected]] On Behalf Of James Graham >Sent: Monday, May 11, 2009 5:16 AM >To: [email protected] >Subject: Array methods applied to strings > >It seems that ES5 throws a TypeError for constructs like > >Array.prototype.pop.call("abc") > >whereas current implementations (and, I think ES3, but I didn't check >that closely) will return "c". > >Is this change intentional? There seems to be a note in the >compatibility appendix that is about a similar, but not quite identical >issue (or maybe it is identical and I have misunderstood). Are there >grounds to be confident that the old behavior is not needed for web >compatibility? > >Apologies if I have overlooked something or misunderstood something. >_______________________________________________ >es-discuss mailing list >[email protected] >https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

