The following snippet executes in IE 10 JS console and in Chromes JS console. fiddle
alert({123:"ABC"}[123]);
However when run this through a linter (for example jslint.com) it complains.
When I read the documentation in json.org I understand the following
to mean that it is incorrect to use numbers as names in a JSON object. So does this mean that at least the V8 and Chakra engine are incorrect? Or does this have something to do with strict mode(if it does, it doesn't seem to have any effect when i test it in node)?