[Laszlo-dev] Flash case-insensitivity
P T Withington
ptw at pobox.com
Wed Aug 13 07:04:57 PDT 2008
Yes. Flash 6 and earlier were case-insensitive. The compiler used to
prevent you from using names that only differed in case, but we have
since removed that. The code in LzParam can be removed too.
On 2008-08-13, at 09:53EDT, André Bargull wrote:
> Were old Flash versions case-insensitive in respect to Objects? Like
> in the following code snippet, all foo's were mapped to the same key
> in the Object?
> Just asking because there is some old code in the LzParam class,
> which seems to workaround this case-insensitivity issue. (And which
> can be removed now.)
>
>> var o = {'Foo':0, 'foo':1, 'FOO':2};
>> for (var k in o) console.log(k)
>
>
More information about the Laszlo-dev
mailing list