JScript incorporates almost all of the features in ECMAScript Edition 3 and many of the proposed features proposed for ECMAScript Edition 4. In addition, JScript also has many unique features that are not provided by the ECMAScript languages. These JScript-specific features are listed in the table below.
JScript-specific Features
Category | Feature/Keyword |
---|---|
Array Handling |
|
Class-Based Objects |
|
Conditional Compilation |
@cc_on,@if Statement,@set Statement,@debug,@position, |
Data Types |
boolean, byte, char, decimal,double, float, int, long,Number, sbyte, short, String,uint, ulong, ushort |
Dates and Time |
|
Displaying Information |
|
Enumeration |
|
Namespaces |
|
Objects |
|
Script Engine Identification |
ScriptEngineВ ScriptEngineBuildVersionВ ScriptEngineMajorVersionВ ScriptEngineMinorVersion |