首页 > 学院 > 开发设计 > 正文

Microsoft JScript 特性 - ECMA

2019-11-18 11:06:12
字体:
来源:转载
供稿:网友

种类特性/要害字数组处理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
递减 (--), 递增 (++), 恒等 (===), 不恒等 (!==)

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表