Firefox 4 has full ECMAScript 5 support including the
- Native JSON support
String.trim()method, which trims whitespace from both ends of the string.
- Gecko 22.214.171.124 updated the implementation of
JSON.stringify()to be compliant with ECMAScript 5.