InfoQ: ECMAScript 5 released - 1 views
-
The introduction of strict mode aims to avoid common coding problems in ECMAScript applications. This is achieved with the presence of a lone string literal in a unit (script or function): "use strict;"
-
for either the entire script (if at the top of the script) or for a single function (if the first part of a function).
- ...10 more annotations...
-
delete cannot be used against arguments, functions or variables or other properties with the configurable flag set to false
-
Functions can no longer have duplicate arguments with the same name Objects can no longer have duplicate properties with the same name
-
A new JSON object with parse and stringify to support efficient generation of JSON data; like eval but without the security implications of being able to reduce code