JavaScript in Visual Studio 2012

JavaScript is a first-class language in Visual Studio 2012. You can use most or all of the standard editing aids (code snippets, IntelliSense, and so on) when you write JavaScript code in the Visual Studio IDE.

For the JavaScript language reference documentation, see JavaScript.

New features for JavaScript in Visual Studio 2012 include the following:

  1. Strict Mode : Strict mode is a way to introduce additional run-time constraints and error-checking into your code.

  2. Typed Arrays : You can use typed arrays to handle binary data from sources such as network protocols, binary file formats, and raw graphics buffers.

  3. The Internet Explorer Web Workers API provides a way to add background workers that run in parallel with the main page. For more information, see About Web workers.

  4. The async attribute of the script element. When this attribute is set to true, the script is executed while the page is being parsed. For more information, see async attribute.