More string indexing semantics issues

liorean liorean at
Wed Jun 25 13:31:22 PDT 2008

On 25/06/2008, liorean <liorean at> wrote:
>  Also, while String objects are created as temporaries when looking up
>  a property on a string, how many of those properties or methods
>  actually return a String object? The only situation I can think of off
>  the top of my head where you're going to actually have a String object
>  to deal with in ES3 is if you're extending the String.prototype object
>  with new methods.

A distinction I was going to make there fell away when I rewrote an
awkward formulation...

s/String object to deal with/String object that you haven't explicitly
created using "new String" to deal with/
David "liorean" Andersson

More information about the Es4-discuss mailing list