JScript 特性/关键字

来源:互联网 发布:用淘宝账号贷款 编辑:程序博客网 时间:2024/06/05 01:52

Microsoft JScript 特性 - ECMA@import url(../html-vss/msdnie4a.css);JScript 语言参考


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, lengthGlobal 方法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

 

 

原创粉丝点击