I\'m reading up a bit on using Strict Mode for JavaScript and it seems that, generally speaking, the idea is to force a more rigid set of rules onto the coder to ensure that the
Well, strict mode code can certainly perform better because it removes issues that made optimization harder, for example, from the top of my head:
with
statement was removed (Really difficult -if not impossible- to optimize).delete varName;
)eval
does not introduce variable/function declarations into the local scope.arguments.callee
was removed, (difficult to optimize (e.g. function inlining))arguments
object index named properties are not anymore dynamically mapped to the named formal parameters.