I would like a Javascript class that acts pretty much like an ordinary object in its expando capability but with case insensitive access. So
var foo = new MyObject();
foo.Bar = "Baz";
alert (foo.bAR) ; // I want this not to error but to be forgiving and print Baz
Javascript is not my main development language so I am not familiar with guts of the language. Is there a fancy way of using prototypes perhaps?
Sorry, also stuck on an old version of Javascript I should mention (dunno for sure possible version 3)