Version Information (JavaScript)

The following table indicates the Internet Explorer document modes in which various JavaScript language features are supported. For information about document modes, see Defining Document Compatibility.

Language element

Internet Explorer 9 standards

Internet Explorer 8 standards

Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards

0n Property

X

X

X

$1...$9 Properties

X

X

X

abs Function

X

X

X

acos Function

X

X

X

ActiveXObject Object

X

X

X

Addition Assignment Operator (+=)

X

X

X

Addition Operator (+)

X

X

X

anchor Method

X

X

X

apply Method

X

X

X

arguments Object

X

X

X

arguments Property

X

X

X

Array Object

X

X

X

asin Function

X

X

X

Assignment Operator (=)

X

X

X

atan Function

X

X

X

atan2 Function

X

X

X

atEnd Method

X

X

X

big Method

X

X

X

bind Method

X

Bitwise AND Assignment Operator (&=)

X

X

X

Bitwise AND Operator (&)

X

X

X

Bitwise Left Shift Operator (<<)

X

X

X

Bitwise NOT Operator (~)

X

X

X

Bitwise OR Assignment Operator (|=)

X

X

X

Bitwise OR Operator (|)

X

X

X

Bitwise Right Shift Operator (>>)

X

X

X

Bitwise XOR Assignment Operator (^=)

X

X

X

Bitwise XOR Operator (^)

X

X

X

blink Method

X

X

X

bold Method

X

X

X

Boolean Object

X

X

X

break Statement

X

X

X

call Method

X

X

X

callee Property

X

X

X

caller Property

X

X

X

catch Statement

X

X

X

@cc_on Statement

X

X

X

ceil Function

X

X

X

charAt Method

X

X

X

charCodeAt Method

X

X

X

Comma Operator (,)

X

X

X

// (Single-line Comment Statement)

X

X

X

/*..*/ (Multiline Comment Statement)

X

X

X

Comparison Operators

X

X

X

compile Method

X

X

X

concat Method (Array)

X

X

X

concat Method (String)

X

X

X

Conditional Compilation

X

X

X

Conditional Compilation Variables

X

X

X

Conditional (Ternary) Operator (?:)

X

X

X

constructor Property

X

X

X

continue Statement

X

X

X

cos Function

X

X

X

create Function

X

Data type conversion

X

X

X

Date Object

X

X

X

Debug Object

X

X

X

debugger Statement

X

X

X

decodeURI Function

X

X

X

DecodeURIComponent Function

X

X

X

Decrement Operator (--)

X

X

X

defineProperties Function

X

defineProperty Function for DOM objects

X

X

defineProperty Function for all objects

X

delete Operator

X

X

X

description Property

X

X

X

dimensions Method

X

X

X

Division Assignment Operator (/=)

X

X

X

Division Operator (/)

X

X

X

do...while Statement

X

X

X

E Constant

X

X

X

encodeURI Function

X

X

X

encodeURI Component Function

X

X

X

Enumerator Object

X

X

X

Equality Operator (==)

X

X

X

Error Object

X

X

X

escape Function

X

X

X

eval Function

X

X

X

exec Method

X

X

X

every Method

X

exp Function

X

X

X

filter Method

X

finally Statement

X

X

X

fixed Method

X

X

X

floor Function

X

X

X

fontcolor Method

X

X

X

fontsize Method

X

X

X

for Statement

X

X

X

forEach Method

X

for...in Statement

X

X

X

freeze Function

X

fromCharCode Function

X

X

X

Function Object

X

X

X

function Statement

X

X

X

getDate Method

X

X

X

getDay Method

X

X

X

getFullYear Method

X

X

X

getHours Method

X

X

X

getItem Method

X

X

X

getMilliseconds Method

X

X

X

getMinutes Method

X

X

X

getMonth Method

X

X

X

GetObject Function

X

X

X

getOwnPropertyDescriptor Function for DOM objects

X

X

getOwnPropertyDescriptor Function for all objects

X

getOwnPropertyNames Function

X

getPrototypeOf Function

X

getSeconds Method

X

X

X

getTime Method

X

X

X

getTimezoneOffset Method

X

X

X

getUTCDate Method

X

X

X

getUTCDay Method

X

X

X

getUTCFullYear Method

X

X

X

getUTCHours Method

X

X

X

getUTCMilliseconds Method

X

X

X

getUTCMinutes Method

X

X

X

getUTCMonth Method

X

X

X

getUTCSeconds Method

X

X

X

getVarDate Method

X

X

X

getYear Method

X

X

X

Global Object

X

X

X

global Property

X

X

X

Greater than Operator (>)

X

X

X

Greater than or equal to Operator (>=)

X

X

X

hasOwnProperty Method

X

X

X

Identity Operator (===)

X

X

X

@if Statement

X

X

X

if...else Statement

X

X

X

ignoreCase Property

X

X

X

In Operator

X

X

X

Increment Operator (++)

X

X

X

index Property

X

X

X

indexOf Method (Array)

X

indexOf Method (String)

X

X

X

Inequality Operator (!=)

X

X

X

Infinity Constant

X

X

X

input Property ($_)

X

X

X

instanceof Operator

X

X

X

isFinite Function

X

X

X

isNaN Function

X

X

X

isArray Function

X

IsExtensible Function

X

isFrozen Function

X

ISO Date Format

X

IsPrototypeOf Method

X

X

X

isSealed Function

X

italics Method

X

X

X

item Method

X

X

X

join Method

X

X

X

JSON Object

X

X

keys Function

X

Labeled Statement

X

X

X

lastIndex Property

X

X

X

lastIndexOf Method (Array)

X

lastIndexOf Method (String)

X

X

X

lastMatch Property ($&)

X

X

X

lastParen Property ($+)

X

X

X

lbound Method

X

X

X

leftContext Property ($')

X

X

X

Left Shift Assignment Operator (<<=)

X

X

X

length Property (Arguments)

X

X

X

length Property (Array)

X

X

X

length Property (Function)

X

X

X

length Property (String)

X

X

X

Less than Operator (<)

X

X

X

Less than or equal to Operator (<=)

X

X

X

link Method

X

X

X

LN2 Constant

X

X

X

LN10 Constant

X

X

X

localeCompare Method

X

X

X

log Function

X

X

X

LOG2E Constant

X

X

X

LOG10E Constant

X

X

X

Logical AND Operator (&&)

X

X

X

Logical NOT Operator (!)

X

X

X

Logical OR Operator (||)

X

X

X

map Method

X

match Method

X

X

X

Math Object

X

X

X

max Function

X

X

X

MAX_VALUE Constant

X

X

X

message Property

X

X

X

min Function

X

X

X

MIN_VALUE Constant

X

X

X

Modulus Assignment Operator (%=)

X

X

X

Modulus Operator (%)

X

X

X

moveFirst Method

X

X

X

moveNext Method

X

X

X

multiline Property

X

X

X

Multiplication Assignment Operator (*=)

X

X

X

Multiplication Operator (*)

X

X

X

name Property

X

X

X

NaN Constant (Global)

X

X

X

NaN Constant (Number)

X

X

X

NEGATIVE_INFINITY Constant

X

X

X

new Operator

X

X

X

Nonidentity Operator (!==)

X

X

X

now Function

X

Number Object

X

X

X

number Property

X

X

X

Object Object

X

X

X

Operator Precedence

X

X

X

Date.parse Function

X

X

X

JSON.parse Function

X

X

parseFloat Function

X

X

X

parseInt Function

X

X

X

PI Constant

X

X

X

pop Method

X

X

X

POSITIVE_INFINITY Constant

X

X

X

pow Function

X

X

X

preventExtensions Function

X

prototype Property

X

X

X

propertyIsEnumerable Method

X

X

X

push Method

X

X

X

random Function

X

X

X

reduce Method

X

reduceRight Method

X

RegExp Object

X

X

X

Regular Expression Object

X

X

X

Regular Expression Syntax

X

X

X

replace Method

X

X

X

return Statement

X

X

X

reverse Method

X

X

X

rightContext Property ($')

X

X

X

Right Shift Assignment Operator (>>=)

X

X

X

round Function

X

X

X

ScriptEngine Function

X

X

X

ScriptEngineBuildVersion Function

X

X

X

ScriptEngineMajorVersion Function

X

X

X

ScriptEngineMinorVersion Function

X

X

X

seal Function

X

search Method

X

X

X

@set Statement

X

X

X

setDate Method

X

X

X

setFullYear Method

X

X

setHours Method

X

X

X

setMilliseconds Method

X

X

X

setMinutes Method

X

X

X

setMonth Method

X

X

X

setSeconds Method

X

X

X

setTime Method

X

X

X

setUTCDate Method

X

X

X

setUTCFullYear Method

X

X

X

setUTCHours Method

X

X

X

setUTCMilliseconds Method

X

X

X

setUTCMinutes Method

X

X

X

setUTCMonth Method

X

X

X

setUTCSeconds Method

X

X

X

setYear Method

X

X

X

shift Method

X

X

X

sin Function

X

X

X

slice Method (Array)

X

X

X

slice Method (String)

X

X

X

small Method

X

X

X

some Method

X

sort Method

X

X

X

source Property

X

X

X

splice Method

X

X

X

split Method

X

X

X

sqrt Function

X

X

X

SQRT1_2 Constant

X

X

X

SQRT2 Constant

X

X

X

strike Method

X

X

X

String Object

X

X

X

JSON.stringify Function

X

X

sub Method

X

X

X

substr Method

X

X

X

substring Method

X

X

X

Subtraction Assignment Operator (-=)

X

X

X

Subtraction Operator (-)

X

X

X

sup Method

X

X

X

switch Statement

X

X

X

tan Function

X

X

X

test Method

X

X

X

this Statement

X

X

X

throw Statement

X

X

X

toArray Method

X

X

X

toDateString Method

X

X

X

toExponential Method

X

X

X

toFixed Method

X

X

X

toGMTString Method

X

X

X

toISOString Method

X

toJSON Method

X

X

toLocaleDateString Method

X

X

X

toLocaleLowercase Method

X

X

X

toLocaleString Method

X

X

X

toLocaleTimeString Method

X

X

X

toLocaleUppercase Method

X

X

X

toLowerCase Method

X

X

X

toPrecision Method

X

X

X

toString Method

X

X

X

toTimeString Method

X

X

X

toUpperCase Method

X

X

X

toUTCString Method

X

X

X

trim Method

X

try Statement

X

X

X

typeof Operator

X

X

X

ubound Method

X

X

X

Unary Negation Operator (-)

X

X

X

undefined Constant

X

X

X

unescape Function

X

X

X

unshift Method

X

X

X

Unsigned Right Shift Assignment Operator (>>>=)

X

X

X

Unsigned Right Shift Operator (>>>)

X

X

X

UTC Function

X

X

X

valueOf Method

X

X

X

var Statement

X

X

X

VBArray Object

X

X

X

void Operator

X

X

X

while Statement

X

X

X

with Statement

X

X

X

write Function

X

X

X

writeln Function

X

X

X

Community Additions

Show:
© 2014 Microsoft