Skip to main content

Home/ javascript/ Group items tagged runtime

Rss Feed Group items tagged

Ivan Pavlov

Razor - Profile and Optimize Web 2.0 Ajax Performance - 0 views

  • Razor is a web delivered service for profiling and optimizing JavaScript-based Web 2.0 applications. It includes a profiler and an optimizer. Razor Profiler analyzes your JavaScript code and gives you insight into the runtime behavior of your application. Razor Optimizer optimizes your JavaScript code and trims overhead so that "What You Get Is What You Need"(WYGIWYN).
Javier Neira

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).
  • var i=3 is needed
  • ...10 more annotations...
  • and introducing new variables through eval cannot occu
  • delete cannot be used against arguments, functions or variables or other properties with the configurable flag set to false
  • with statements, often a source of errors, are no longer used and considered syntax errors
  • Functions can no longer have duplicate arguments with the same name Objects can no longer have duplicate properties with the same name
  • Access to the global object becomes a runtime error
  • 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
  • Array now has standard functions, such as indexOf(), map(), filter(), and reduce()
  • Object now has seal()
  • and freeze()
  • Object.getPrototypeof() returns the prototype of the given object
1 - 4 of 4
Showing 20 items per page