You can subclass "String" but not "string", and the latter is not a subclass of the former, which is just a container class. So I might not open the Champagne quite yet, if I were you.
--lars On 9/27/07, P T Withington <[EMAIL PROTECTED]> wrote: > I was just about to ask if I would be able to subclass String in es4, > and I find I can! Hurray! > > (Because the OpenLaszlo debugger creates 'annotated' strings with its > printf method that remember the objects associated with each string > representation. I have to kludge this in es3 because these annotated > strings are not instances of String...) > _______________________________________________ > Es4-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es4-discuss > _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
