JScript
JScript 8.0 is a modern scripting language with a wide variety of applications. It is a true object-oriented language, and yet it still keeps its "scripting" feel. JScript 8.0 maintains full backwards compatibility with previous versions of JScript, while incorporating great new features and providing access to the common language runtime and .NET Framework.
The following table shows the versions of JScript and JScript .NET that are supported in different versions of Visual Studio.
Language | Visual Studio 2012 | Visual Studio 2010 | Visual Studio 2008 | Visual Studio 2005 |
|---|---|---|---|---|
JScript .NET | Not supported | Not supported | Not supported | Supported |
JScript | Yes, in web projects | Yes, in web projects | Yes, in web projects | Yes, in web projects |
The following topics introduce the essential features of JScript 8.0 and provide information about how to use the language. As with any modern programming language, JScript supports a number of common programming constructs and language elements.
If you have programmed in other languages, much of the material covered in this section may seem familiar. While most of the constructs are the same as in previous versions of JScript, JScript 8.0 introduces powerful new constructs similar to those in other class-based, object-oriented languages.
If you are new to programming, the material in this section will serve as an introduction to the basic building blocks for writing code. Once you understand the basics, you will be able to create powerful scripts and applications using JScript.