Re: JavaScript ECMAScript definitions
On Mon, 03 May 2004 17:49:58 -0400, Randy Webb
<hikksnotathome @aol.com> wrote:
[color=blue]
>Thomas 'PointedEars' Lahn wrote:[color=green]
>> Jim Ley wrote:
>>[color=darkred]
>>>Thomas 'PointedEars' Lahn wrote:
>>>
>>>>Jim Ley wrote: Two obvious reasons: For example, I know of versions of
>>>>JScript which yield a script error even if one only tests *if* a
>>>>property exists.
>>>
>>>Sure, but I know of the same in SpiderMonkey impls.[/color]
>>
>>
>> And that is a *serious* violation of the ECMAScript specification.[/color][/color]
Well sure, PIE isn't conformant - hardly news there. (the error also
only manifests itself with host objects, so it's hardly deadly in the
real world, and it doesn't happen on real browsers.)
[color=blue]
>ECMA is a recommendation and nothing more. It reminds me of the W3C.[/color]
No, unlike the W3C stuff, ECMAScript is a proper International
standard. again there's good reasons for not worrying about \b in
regexps or \ at the end of line or the other minor non-conformances
though, and the various ES impl's are very much more conformant than
anything else we get to play with.
(I still don't understand Thomas's point about function literals, all
I can see is a complaint against JScript's documentation since "it
works".
Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/
On Mon, 03 May 2004 17:49:58 -0400, Randy Webb
<hikksnotathome @aol.com> wrote:
[color=blue]
>Thomas 'PointedEars' Lahn wrote:[color=green]
>> Jim Ley wrote:
>>[color=darkred]
>>>Thomas 'PointedEars' Lahn wrote:
>>>
>>>>Jim Ley wrote: Two obvious reasons: For example, I know of versions of
>>>>JScript which yield a script error even if one only tests *if* a
>>>>property exists.
>>>
>>>Sure, but I know of the same in SpiderMonkey impls.[/color]
>>
>>
>> And that is a *serious* violation of the ECMAScript specification.[/color][/color]
Well sure, PIE isn't conformant - hardly news there. (the error also
only manifests itself with host objects, so it's hardly deadly in the
real world, and it doesn't happen on real browsers.)
[color=blue]
>ECMA is a recommendation and nothing more. It reminds me of the W3C.[/color]
No, unlike the W3C stuff, ECMAScript is a proper International
standard. again there's good reasons for not worrying about \b in
regexps or \ at the end of line or the other minor non-conformances
though, and the various ES impl's are very much more conformant than
anything else we get to play with.
(I still don't understand Thomas's point about function literals, all
I can see is a complaint against JScript's documentation since "it
works".
Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/
Comment