?
This document uses PHP Chinese website manual Release
JScript? | 語言參考 |
種類 | 特性/關(guān)鍵字 |
---|---|
數(shù)組處理 | Array, concat, join, length, reverse, slice sort |
賦值 | 賦值 (=) 復(fù)合賦值(OP=) |
Boolean | Boolean |
注釋 | 或 // |
常數(shù)/文字 | NaN null true, false Infinity undefined |
控制流 | Break continue do...while for for...in if...else Labeled return switch while |
日期和時(shí)間 | 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 |
錯(cuò)誤處理 | Error, description, number, throw, try...catch |
函數(shù)創(chuàng)建 | Caller,Function arguments, length |
Global 方法 | Global escape, unescape eval isFinite, isNaN parseInt, parseFloat |
數(shù)學(xué) | 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 |
數(shù)字 | Number MAX_VALUE, MIN_VALUE NaN NEGATIVE_INFINITY, POSITIVE_INFINITY |
對(duì)象創(chuàng)建 | Object new constructor, prototype, toString, valueOf |
運(yùn)算符 | 加 (+), 減 (-) 算術(shù)取模 (%) 乘 (*), 除 (/) 負(fù) (-) 相等 (==), 不相等 (!=) 小于 (<), 小于等于 (<=) 大于 (>) 大于等于 (>=) 邏輯與 (&&), 或 (||), 非 (!) 位與 (&), 或 (|), 非 (~), 異或 (^) 位左移 (<<), 右移 (>>) 無符號(hào)右移 (>>>) 條件 (?:) 逗號(hào) (,) delete, typeof, void 遞減 (--), 遞增 (++), 恒等 (===), 不恒等 (!==) |
對(duì)象 | Array Boolean Date Function Global Math Number Object RegExp String |
正則表達(dá)式和模式匹配 | 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 |