"Richard Cornford" <> writes:
> - so the applicable section of ECMA 262 is section 11.2.1, where the
> production rules and algorithms for the bracket notation property
> accessor make it clear that ECMAScript places no restrictions upon the
> sequences of characters that may be used as the property names of
> object, and accessed with bracket notation.
Very true. While I thought I had understood this, it was still
something of an experience when I realised that the empty string
was a valid property name
var x = {};
x[""] = 42;
alert(x[""]);
Well, I think it's cute.

/L
--
Lasse Reichstein Nielsen -
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'