Version Information (Windows Scripting - JScript)

 

The following table lists the version of Microsoft JScript that is implemented by host applications.

Versions

Host application

JScript version

Internet Explorer 3.0

1.0

Internet Information Server 3.0

2.0

Internet Explorer 4.0

3.0

Internet Information Server 4.0

3.0

Visual Studio 6.0

4.0

Internet Explorer 5.0

5.0

Windows 2000

5.1

Internet Explorer 5.01

5.1

Internet Explorer 5.5

5.5

Internet Explorer 6.0

5.6

Windows XP (through SP2)

5.6

Internet Explorer 7.0

5.7

Windows XP SP3

5.7

Windows Vista

5.7

Internet Explorer 8.0

5.8

Windows 7

5.8

Note

Version 9.0 was introduced with Internet Explorer 9. For information about Internet Explorer 9 language features, see Version 9.0 Information.

The following table lists JScript language features and the JScript version in which they were first introduced.

Language element

Version first introduced

0n Property

5.5

$1...$9 Properties

3.0

abs Method

1.0

acos Method

1.0

ActiveXObject Object

3.0

Addition Assignment Operator (+=)

1.0

Addition Operator (+)

1.0

anchor Method

1.0

apply Method

5.5

arguments Object

1.0

arguments Property

2.0

Array Object

2.0

asin Method

1.0

Assignment Operator (=)

1.0

atan Method

1.0

atan2 Method

1.0

atEnd Method

3.0

big Method

1.0

Bitwise AND Assignment Operator (&=)

1.0

Bitwise AND Operator (&)

1.0

Bitwise Left Shift Operator (<<)

1.0

Bitwise NOT Operator (~)

1.0

Bitwise OR Assignment Operator (|=)

1.0

Bitwise OR Operator (|)

1.0

Bitwise Right Shift Operator (>>)

1.0

Bitwise XOR Assignment Operator (^=)

1.0

Bitwise XOR Operator (^)

1.0

blink Method

1.0

bold Method

1.0

Boolean Object

2.0

break Statement

1.0

call Method

5.5

callee Property

5.5

caller Property

2.0

catch Statement

5.0

@cc_on Statement

3.0

ceil Method

1.0

charAt Method

1.0

charCodeAt Method

5.5

Comma Operator (,)

1.0

// (Single-line Comment Statement)

1.0

/*..*/ (Multiline Comment Statement)

1.0

Comparison Operators

1.0

compile Method

3.0

concat Method (Array)

3.0

concat Method (String)

3.0

Conditional Compilation

3.0

Conditional Compilation Variables

3.0

Conditional (Ternary) Operator (?:)

1.0

constructor Property

2.0

continue Statement

1.0

cos Method

1.0

Data Type Conversion

3.0

Date Object

1.0

Debug Object

3.0

debugger Statement

3.0

decodeURI Method

5.5

DecodeURIComponent Method

5.5

Decrement Operator (--)

1.0

defineProperty Method

5.8

delete Operator

3.0

description Property

5.0

dimensions Method

3.0

Division Assignment Operator (/=)

1.0

Division Operator (/)

1.0

do...while Statement

3.0

E Property

1.0

encodeURI Method

5.5

encodeURI Component Method

5.5

Enumerator Object

3.0

Equality Operator (==)

1.0

Error Object

5.0

escape Method

1.0

eval Method

1.0

exec Method

3.0

exp Method

1.0

finally Statement

5.0

fixed Method

1.0

floor Method

1.0

fontcolor Method

1.0

fontsize Method

1.0

for Statement

1.0

for...in Statement

5.0

fromCharCode Method

3.0

Function Object

2.0

function Statement

1.0

getDate Method

1.0

getDay Method

1.0

getFullYear Method

3.0

getHours Method

1.0

getItem Method

3.0

getMilliseconds Method

3.0

getMinutes Method

1.0

getMonth Method

1.0

GetObject Function

3.0

getOwnPropertyDescriptor Method

5.8

getSeconds Method

1.0

getTime Method

1.0

getTimezoneOffset Method

1.0

getUTCDate Method

3.0

getUTCDay Method

3.0

getUTCFullYear Method

3.0

getUTCHours Method

3.0

getUTCMilliseconds Method

3.0

getUTCMinutes Method

3.0

getUTCMonth Method

3.0

GetUTCSeconds Method

3.0

getVarDate Method

3.0

getYear Method

1.0

Global Object

3.0

global Property

5.5

Greater than Operator (>)

1.0

Greater than or equal to Operator (>=)

1.0

hasOwnProperty Method

5.5

Identity Operator (===)

1.0

@if Statement

3.0

if...else Statement

1.0

ignoreCase Property

5.5

In Operator

1.0

Increment Operator (++)

1.0

index Property

3.0

indexOf Method

1.0

Inequality Operator (!=)

1.0

Infinity Property

3.0

input Property ($_)

3.0

instanceof Operator

5.0

isFinite Method

3.0

isNaN Method

1.0

IsPrototypeOf Method

5.5

italics Method

1.0

item Method

3.0

join Method

2.0

JSON Object

5.8

Labeled Statement

3.0

lastIndex Property

3.0

lastIndexOf Method

1.0

lastMatch Property ($&)

5.5

lastParen Property ($+)

5.5

lbound Method

3.0

leftContext Property ($')

5.5

Left Shift Assignment Operator (<<=)

1.0

length Property (Arguments)

5.5

length Property (Array)

2.0

length Property (Function)

2.0

length Property (String)

1.0

Less than Operator (<)

1.0

Less than or equal to Operator (<=)

1.0

link Method

1.0

LN2 Property

1.0

LN10 Property

1.0

localeCompare Method

5.5

log Method

1.0

LOG2E Property

1.0

LOG10E Property

1.0

Logical AND Operator (&&)

1.0

Logical NOT Operator (!)

1.0

Logical OR Operator (||)

1.0

match Method

3.0

Math Object

1.0

max Method

1.0

MAX_VALUE Property

2.0

message Property

5.5

min Method

1.0

MIN_VALUE Property

2.0

Modulus Assignment Operator (%=)

1.0

Modulus Operator (%)

1.0

moveFirst Method

3.0

moveNext Method

3.0

multiline Property

5.5

Multiplication Assignment Operator (*=)

1.0

Multiplication Operator (*)

1.0

name Property

5.5

NaN Property (Global)

3.0

NaN Property (Number)

2.0

NEGATIVE_INFINITY Property

2.0

new Operator

1.0

Nonidentity Operator (!==)

1.0

Number Object

2.0

number Property

5.0

Object Object

3.0

Operator Precedence

1.0

Date.parse Method

1.0

JSON.parse Method

5.8

parseFloat Method

1.0

parseInt Method

1.0

PI Property

1.0

pop Method

5.5

POSITIVE_INFINITY Property

2.0

pow Method

1.0

prototype Property

2.0

propertyIsEnumerable Property

5.5

push Method

5.5

random Method

1.0

RegExp Object

3.0

Regular Expression Object

3.0

Regular Expression Syntax

3.0

replace Method

1.0

return Statement

1.0

reverse Method

2.0

rightContext Property ($')

5.5

Right Shift Assignment Operator (>>=)

1.0

round Method

1.0

ScriptEngine Function

2.0

ScriptEngineBuildVersion Function

2.0

ScriptEngineMajorVersion Function

2.0

ScriptEngineMinorVersion Function

2.0

search Method

3.0

@set Statement

3.0

setDate Method

1.0

setFullYear Method

3.0

setHours Method

1.0

setMilliseconds Method

3.0

setMinutes Method

1.0

setMonth Method

1.0

setSeconds Method

1.0

setTime Method

1.0

setUTCDate Method

3.0

setUTCFullYear Method

3.0

setUTCHours Method

3.0

setUTCMilliseconds Method

3.0

setUTCMinutes Method

3.0

setUTCMonth Method

3.0

setUTCSeconds Method

3.0

setYear Method

1.0

shift Method

5.5

sin Method

1.0

slice Method (Array)

3.0

slice Method (String)

3.0

small Method

1.0

sort Method

2.0

source Property

3.0

splice Method

5.5

split Method

3.0

sqrt Method

1.0

SQRT1_2 Property

1.0

SQRT2 Property

1.0

strike Method

1.0

String Object

1.0

JSON.stringify Method

5.8

sub Method

1.0

substr Method

3.0

substring Method

1.0

Subtraction Assignment Operator (-=)

1.0

Subtraction Operator (-)

1.0

sup Method

1.0

switch Statement

3.0

tan Method

1.0

test Method

3.0

this Statement

1.0

throw Statement

5.0

toArray Method

3.0

toDateString Method

5.5

toExponential Method

5.5

toFixed Method

5.5

toGMTString Method

1.0

toJSON Method

5.8

toLocaleDateString Method

5.5

toLocaleLowercase Method

5.5

toLocaleString Method

1.0

toLocaleTimeString Method

5.5

toLocaleUppercase Method

5.5

toLowerCase Method

1.0

toPrecision Method

5.5

toString Method

2.0

toTimeString Method

5.5

toUpperCase Method

1.0

toUTCString Method

3.0

try Statement

5.0

typeof Operator

1.0

ubound Method

3.0

Unary Negation Operator (-)

1.0

undefined Property

5.5

unescape Method

1.0

unshift Method

5.5

Unsigned Right Shift Assignment Operator (>>>=)

1.0

Unsigned Right Shift Operator (>>>)

1.0

UTC Method

1.0

valueOf Method

2.0

var Statement

1.0

VBArray Object

3.0

void Operator

2.0

while Statement

1.0

with Statement

1.0

write Method

3.0

writeln Method

3.0

Note

Starting with JScript 5.8, by default, the JScript scripting engine supports the language feature set as it existed in version 5.7. This is to maintain compatibility with the earlier versions of the engine. To use the complete language feature set of version 5.8, the Windows Script interface host has to invoke IActiveScriptProperty::SetProperty.

Internet Explorer 8 opts into the JScript 5.8 language features when the document mode for Internet Explorer 8 is "Internet Explorer 8 Standards" mode. For other document modes, Internet Explorer uses the version 5.7 feature set.

JScript 5.8 includes native JavaScript Object Notation (JSON) support and the accessor methods for Document Object Model (DOM) prototypes.

Change History

Date

History

Reason

March 2009

Added note about the JScript scripting engine.

Information enhancement.

March 2009

Added defineProperty and getOwnPropertyDescriptor methods.

Information enhancement.

March 2009

Updated and reformatted host application table.

Content bug fix.

August 2008

Added JSON information for JScript 5.8.

Information enhancement.

See Also

Broken link. The 'inet_doc_compat_ovw' GUID is not correct.