Speaking of Lisp...

Robert Sayre sayrer at gmail.com
Fri Feb 2 16:12:25 PST 2007


On 1/5/07, Chris Double <chris.double at double.co.nz> wrote:
>
> A Dictionary class would be useful I think. Looking around the web for
> 'javascript associative arrays' will show quite a few hits where
> people have hit the problem of objects in the prototype being picked
> up without them realising this would happen.

I also think a Dictionary or Record type would be useful, and a
convenient literal initializer would be nice. Round-tripping creates
further problems:

http://people.mozilla.com/~sayrer/2007/02/02/hasOwnProperty.html

Any application that uses untrusted input is at risk here.

- Rob



More information about the Es4-discuss mailing list