And no matter if IE is right in doing this way, I’m still mad at it for giving me useless debug informations.
“is null or not an object” WTH?!?
]]>Score a point for IE. And actually, it’s probably lazy programming to include that trailing comma, so I can’t really call IE to task for being strict about it.
]]>> object = begin-object [ member *( value-separator member ) ] end-object
> array = begin-array [ value *( value-separator value ) ] end-array
So this is actually Firefox being generous and allowing value-separator to *not* be followed by a value, which is sort of going against the RFC. For a PHP developer, having a trailing comma with no value following it is allowed, and many developers add it by default in order to prevent parse errors that occur when you add a new element to the list and forget the comma. But one must admit it’s non-standard and unneeded, so strict interpretation should require that a value follows a value-separator.
]]>