Microsoft JScript 特性 - ECMA

种类 特性/关键字
数组处理 Array, concat,
join, length, reverse, slice sort
赋值 赋值 (=)
复合赋值(OP=)
Boolean Boolean
注释 /*...*/ 或 //
常数/文字 NaN
null
true, false
Infinity
undefined
控制流 Break
continue
do...while
for
for...in
if...else
Labeled
return

switch
while
日期和时间 Date
getDate, getDay, getFullYear, getHours, getMilliseconds, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear,
getUTCDate, getUTCDay, getUTCFullYear, getUTCHours, getUTCMilliseconds, getUTCMinutes, getUTCMonth, getUTCSeconds,
setDate, setFullYear, setHours, setMilliseconds, setMinutes, setMonth, setSeconds, setTime, setYear,
setUTCDate, setUTCFullYear, setUTCHours, setUTCMilliseconds, setUTCMinutes, setUTCMonth, setUTCSeconds,
toGMTString, toLocaleString, toUTCString, parse, UTC
声明 Function
new
this
var
with
错误处理 Error, description, number, throw, try...catch
函数创建 Caller,Function
arguments, length
Global 方法 Global
escape, unescape
eval
isFinite, isNaN
parseInt, parseFloat
数学 Math
abs, acos, asin, atan, atan2, ceil, cos, exp, floor, log, max, min, pow, random, round, sin, sqrt, tan,
E, LN2, LN10, LOG2E, LOG10E, PI, SQRT1_2, SQRT2
数字 Number
MAX_VALUE, MIN_VALUE
NaN
NEGATIVE_INFINITY, POSITIVE_INFINITY
对象创建 Object
new
constructor, prototype, toString, valueOf
运算符 加 (+), 减 (-)
算术取模 (%)
乘 (*), 除 (/)
负 (-)
相等 (==), 不相等 (!=)
小于 (<), 小于等于 (<=)
大于 (>)
大于等于 (>=)
逻辑与 (&&), 或 (||), 非 (!)
位与 (&), 或 (|), 非 (~), 异或 (^)
位左移 (<<), 右移 (>>)
无符号右移 (>>>)
条件 (?:)
逗号 (,)
delete, typeof, void
递减 (--), 递增 (++), 恒等 (===), 不恒等 (!==)
对象 Array
Boolean
Date
Function
Global
Math
Number
Object
RegExp
String
正则表达式和模式匹配 RegExp
index, input, lastIndex, $1...$9, source, compile, exec, test
Regular Expression Syntax
字符串 String
charAt, charCodeAt, fromCharCode
indexOf, lastIndexOf
split
toLowerCase, toUpperCase
length
concat, slice
match, replace, search
anchor, big, blink, bold, fixed, fontcolor, fontsize, italics, link, small, strike, sub, sup

NetPc