Microsoft(R) JScript(R)
Microsoft JScript 特性
ECMA
 语言参考 


种类 特性/关键字
数组处理 Array
join, length, reverse, sort
赋值 赋值 (=)
复合赋值(OP=)
Boolean Boolean
注释 /*...*/ 或 //
常数/文字 NaN
null
true, false
Infinity
undefined
控制流 break
continue
for
for...in
if...else
return
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
函数创建 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
String
字符串 String
charAt, charCodeAt, fromCharCode
indexOf, lastIndexOf
split
toLowerCase, toUpperCase
length