Re: Its the isArray() function thing again
dhtml wrote:
<snip>
Assuming you mean "incompatibilit y" where you wrote "compatibility" ,
then ES 3.1 defining an - Object.clone - method is not an issue unless
it is defined as a read-only (or ES 3.1's equivalent of read-only). If a
script loads in into (and is executed in) an ES 3.1 environment and that
script assignees its own method to - Obejct.clone - then so long as that
assignment succeeds code in the same context that uses - Object.clone -
will be using the version it is expecting to use.
Richard.
dhtml wrote:
<snip>
Object.clone is proposed for ES 3.1. I did mention it on the
list, but Allen was replying to a lot of responders, so he
probably missed what I wrote:
>
>| It seems like Object.clone might create compatibility with
>| existing code. There is already a widespread use of an
>| Object.clone on the web.
list, but Allen was replying to a lot of responders, so he
probably missed what I wrote:
>
>| It seems like Object.clone might create compatibility with
>| existing code. There is already a widespread use of an
>| Object.clone on the web.
then ES 3.1 defining an - Object.clone - method is not an issue unless
it is defined as a read-only (or ES 3.1's equivalent of read-only). If a
script loads in into (and is executed in) an ES 3.1 environment and that
script assignees its own method to - Obejct.clone - then so long as that
assignment succeeds code in the same context that uses - Object.clone -
will be using the version it is expecting to use.
Richard.
Comment