JavaScript in Visual Studio 2013
JavaScript is a first-class language in Visual Studio 2013. 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. You can write JavaScript code for many application types and services.
For the JavaScript language reference documentation, see JavaScript.
Specific versions of Visual Studio, or specific Visual Studio extensions, may be required to develop particular application types and services using HTML and JavaScript. The following list has links to more information.
To create Windows Store, Windows Phone, and universal apps (supporting both platforms), get the tools.
To create cross-platform Multi-Device Hybrid Apps, get the Multi-Device Hybrid Apps extension.
To create cloud-based services, see the Microsoft Azure site.
To create web sites and web apps, see the ASP.NET site.
The JavaScript editor in Visual Studio 2013 provides IntelliSense support. For more info, see JavaScript IntelliSense.
What's New in JavaScript
New features for JavaScript in Visual Studio 2013 include the following:
The let Statement (JavaScript) and const Statement (JavaScript) keywords allow you to declare variables for which the scope is limited to the block in which they're declared.
The Set Object (JavaScript) object allows you to create a collection of unique objects, and Map Object (JavaScript) or WeakMap Object (JavaScript) allow you to create a collection of key/value pairs.
Intl.DateTimeFormat Object (JavaScript), Intl.NumberFormat Object (JavaScript), and Intl.Collator Object (JavaScript) provide localization services that include date and time formatting, number formatting, and string comparison.
The __proto__ Property (Object) (JavaScript) allows you to set the prototype for an object or function.
A new typed array, Uint8ClampedArray Object (JavaScript), provides support for typed arrays that consist of 8-bit unsigned integers with values clamped to the range 0-255. In addition, the ArrayBuffer object now supports the slice Method (ArrayBuffer) and ArrayBuffer.isView Function (ArrayBuffer).