JavaScript Language Reference

JavaScript Language Reference


JavaScript is a scripting language that can be embedded in web pages and other applications.

This documentation describes the Microsoft implementation of JavaScript, which is compliant with the ECMAScript Language Specification 5th Edition. It also provides additional features that are not included in the ECMA Standards.

You can use JavaScript code in browser applications together with HTML, CSS and the Document Object Model (DOM), which represents HTML and browser objects.

You can also use JavaScript code in Windows Store apps that run on Windows 8 and Windows 8.1, and in Universal Windows Platform (UWP) apps that run on Windows 10. Windows Store apps can be developed in Visual Studio 2012, Visual Studio 2013, and Visual Studio 2015; UWP apps can be developed in Visual Studio 2015.

The JavaScript editor in Visual Studio provides IntelliSense support. For more information, see JavaScript IntelliSense.

In This Section

The following sections provide more information about JavaScript.

What's New in JavaScript

Describes new features in JavaScript.

JavaScript Fundamentals

Provides an introduction to the basic structures in JavaScript.

Advanced JavaScript

Explains advanced JavaScript functionality, such as recursion, arrays, troubleshooting, and so on.

JavaScript Reference

Explains the elements of the JavaScript language .

© 2015 Microsoft