fbpx
维基百科

JavaScript引擎比较

下表比较在网页浏览器内使用一些知名JavaScript引擎对标准的支持。

表格解说 编辑

完整列表可参见ECMAScript引擎列表

编辑

这些值指示了在每个引擎中对给定项目的支持程度。缺省的,默认为这个引擎的最新版本。但是,可以列出特定版本号;当这指示完全支持的时候,它是这个引擎完全支持这个项目的最初版本。

含义
完全支持
从未支持
部份 只支持某些值
不正確 在所有情况下未正确实现
實驗性質 可能不完全或有缺陷
每日构建 目前正在开发;可预期完全支持
依情況 只在特定条件下支持
抛弃 不再支持

ECMAScript版本支持 编辑

下表中的版本号为排版引擎的版本号。JavaScript的版本号就是JavaScript引擎SpiderMonkey的版本号,在ECMAScript Edition 5之后不再延续跟进。

Trident Gecko WebKit Presto Blink
ECMAScript引擎名称 JScript
Chakra
SpiderMonkey
TraceMonkey
JägerMonkey
IonMonkey
JavaScriptCore
SquirrelFish Extreme
Linear B
Futhark
Carakan
V8
ECMAScript Edition 3
等价于JavaScript 1.5
1.7[1] 1.0
JavaScript 1.6 扩展
(排除E4X)
1.8 部份 部份 部份
JavaScript 1.7 扩展 1.8.1 部份
JavaScript 1.8 扩展 1.9 部份 部份
JavaScript 1.8.1 扩展 1.9.1
ECMAScript Edition 5
等价于JavaScript 1.8.5
7.0 2.0 部份
E4X 废弃于17[2]
ECMAScript Edition 6
又称ECMAScript 2015
部份 部份 部份
ECMAScript 2016扩展
ES新近版本2016+扩展 部份 部份

标准库 编辑

全局对象 编辑

Trident Gecko WebKit Presto Blink
值属性
NaN 4.0 0.6
Infinity 4.0 0.6
undefined 5.5 0.6
函数属性
eval(x) 3.0 0.6
parseInt(string [, radix]) 3.0 0.6
parseFloat(string) 3.0 0.6
isNaN(number) 4.0 0.6
isFinite(number) 4.0 0.6
URI处理函数
decodeURI(encodedURI) 5.5 0.6
decodeURIComponent(encodedURIComponent) 5.5 0.6
encodeURI(uri) 5.5 0.6
encodeURIComponent(uriComponent) 5.5 0.6
constructor属性
Object 4.0
Function 4.0
Array 4.0
String 3.0
Boolean 3.0
Number 3.0
Date 3.0
RegExp 4.0
Error 5.0
EvalError 5.0
RangeError 5.0
ReferenceError 5.0
SyntaxError 5.0
TypeError 5.0
URIError 5.0
其他属性
Math 3.0
额外属性
escape(string) 3.0
unescape(string) 3.0

Object对象 编辑

Trident Gecko WebKit Presto Blink
调用为函数
Object([value])
调用为constructor
new Object([value]) 4.0
属性
prototype 4.0
prototype的属性
constructor 4.0
toString() 4.0
toLocaleString() 4.0
valueOf() 4.0
hasOwnProperty(V) 5.5 3
isPrototypeOf(V) 5.5 3
propertyIsEnumerable(V) 5.5 3

Function对象 编辑

Trident Gecko WebKit Presto Blink
调用为函数
Function([[p1 [, p2 [, ...]],] body]) ? ?
调用为constructor
new Function([[p1 [, p2 [, ...]],] body]) 4.0 1.0 1.0
属性
length ? 1.0
prototype 4.0 1.0 1.0
prototype的属性
length ? 1.0 ?
constructor 4.0 1.0 1.0
toString() 4.0 1.0 1.0
apply(thisArg, argArray) 4.0 1.0 1.0
call(thisArg [, arg1 [, arg2 [, ...]]]) 4.0 1.0 1.0
实例的属性
length 4.0 1.0 1.0
prototype 4.0 1.0 1.0

Array对象 编辑

Trident Gecko WebKit Presto Blink
调用为函数
Array([item1 [, item2 [, ...]]])
调用为constructor
new Array([item1, item2 [, ...]]) 4.0 1.0 1.0
new Array(len) 4.0 1.0 1.0
属性
prototype 4.0 1.0 1.0
prototype的属性
constructor 4.0 1.0 1.0
toString() 4.0 1.0 1.0
toLocaleString() 5.5 1.0 1.0
concat([item1 [, item2 [,...]]]) 4.0 1.0 1.0
join(separator) 4.0 1.0 1.0
pop() 5.5 1.0 1.0
push([item1 [, item2 [,...]]]) 5.5 1.0 1.0
reverse() 4.0 1.0 1.0
shift() 5.5 1.0 1.0
slice(start, end) 4.0 1.0 1.0
sort(comparefn) 4.0 1.0 1.0
splice(start, deleteCount [, item1 [, item2 [, ...]]]) 5.5 1.0 1.0
unshift([item1 [, item2 [, ...]]]) 5.5 1.0 1.0
indexOf(searchElement[, fromIndex]) 9.0[3] 1.8 522 2.1
lastIndexOf(searchElement[, fromIndex]) 1.8 522 2.1
filter(callback[, thisObject]) 1.8 522 2.1
forEach(callback[, thisObject]) 1.8 522 2.1
every(callback[, thisObject]) 1.8 522 2.1
map(callback[, thisObject]) 1.8 522 2.1
some(callback[, thisObject]) 1.8 522 2.1
reduce(callback[, initialValue]) 1.9 528 2.5.22
reduceRight(callback[, initialValue]) 1.9 528 2.5.22
实例的属性
length 4.0 1.0 1.0

String对象 编辑

Trident Gecko WebKit Presto Blink
调用为函数
String([value])
调用为constructor
new String([value]) 3.0 1.0 1.0
属性
prototype 4.0 1.0 1.0
fromCharCode([char0 [, char1 [, ...]]]) 4.0 1.0 1.0
prototype的属性
constructor 4.0 1.0 1.0
toString() 3.0 1.0 1.0
valueOf() 3.0 1.0 1.0
charAt(pos) 3.0 1.0 1.0
charCodeAt(pos) 5.5 1.0 1.0
concat([string1 [, string2 [, ...]]]) 4.0 1.0 1.0
indexOf(searchString, position) 3.0 1.0 1.0
lastIndexOf(searchString, position) 3.0 1.0 1.0
localeCompare(that) 5.5 1.0 1.0
match(regexp) 4.0 1.0 1.0
replace(searchValue, replaceValue) 3.0 1.0 1.0
search(regexp) 4.0 1.0 1.0
slice(start, end) 4.0 1.0 1.0
split(separator, limit) 4.0 1.0 1.0
substring(start, end) 3.0 1.0 1.0
toLowerCase() 3.0 1.0 1.0
toLocaleLowerCase(comparefn) 3.0 1.0 1.0
toUpperCase() 3.0 1.0 1.0
toLocaleUpperCase() 3.0 1.0 1.0
prototype的额外属性
substr(start, length) 4.0 1.0 1.0
实例的属性
length 3.0 1.0 1.0

Boolean对象 编辑

Trident Gecko WebKit Presto Blink
调用为函数
Boolean([value])
调用为constructor
new Boolean([value]) 3.0
属性
prototype 4.0
prototype的属性
constructor 4.0
toString() 4.0
valueOf() 4.0

Number对象 编辑

Trident Gecko WebKit Presto
调用为函数
Number([value]) ? ?
调用为constructor
new Number([value]) 3.0 1.0 1.0
属性
prototype 4.0 1.0 1.0
MAX_VALUE 4.0 1.0 1.0
MIN_VALUE 4.0 1.0 1.0
NaN 4.0 1.0 1.0
NEGATIVE_INFINITY 4.0 1.0 1.0
POSITIVE_INFINITY 4.0 1.0 1.0
prototype的属性
constructor 4.0 1.0 1.0
toString([radix]) 4.0 1.0 1.0
toLocaleString() 5.5 1.0 1.0
valueOf() 4.0 1.0 1.0
toFixed(fractionDigits) 5.5 1.0 1.0
toExponential(fractionDigits) 5.5 1.0 1.0
toPrecision(precision) 5.5 1.0 1.0

Math对象 编辑

Trident Gecko WebKit Presto
值属性
E 3.0 1.0 1.0
LN10 3.0 1.0 1.0
LN2 3.0 1.0 1.0
LOG2E 3.0 1.0 1.0
LOG10E 3.0 1.0 1.0
PI
SQRT1_2 3.0 1.0 1.0
SQRT2
函数属性
abs(x) 3.0 1.0 1.0
acos(x) 3.0 1.0 1.0
asin(x) 3.0 1.0 1.0
atan(x) 3.0 1.0 1.0
atan2(y, x) 3.0 1.0 1.0
ceil(x) 3.0 1.0 1.0
cos(x) 3.0 1.0 1.0
exp(x) 3.0 1.0 1.0
floor(x) 3.0 1.0 1.0
log(x) 3.0 1.0 1.0
max([value1 [, value2 [, ...]]]) 3.0 1.0 1.0
min([value1 [, value2 [, ...]]]) 3.0 1.0 1.0
pow(x, y) 3.0 1.0 1.0
random() 3.0 1.0 1.0
round(x) 3.0 1.0 1.0
sin(x) 3.0 1.0 1.0
sqrt(x) 3.0 1.0 1.0
tan(x) 3.0 1.0 1.0

Date对象 编辑

Trident Gecko WebKit Presto
调用为函数
Date ([year [, month [, date [, hours [, minutes [, seconds [, ms ]]]]]]]) ? ? ? ?
调用为constructor
new Date (year, month [, date [, hours [, minutes [, seconds [, ms ]]]]]) 4.0 1.0 1.0
new Date (value) 4.0 1.0 1.0
new Date () 4.0 1.0 1.0
属性
prototype 4.0 1.0 1.0
parse(string) 3.0 1.0 1.0
UTC (year, month [, date [, hours [, minutes [, seconds [, ms ]]]]]) 3.0 1.0 1.0
prototype的属性
constructor 4.0 1.0 1.0
toString() 4.0 1.0 1.0
toDateString() 4.0 1.0 1.0
toTimeString() 4.0 1.0 1.0
toLocaleString() 4.0 1.0 1.0
toLocaleDateString() 4.0 1.0 1.0
toLocaleTimeString() 4.0 1.0 1.0
valueOf() 4.0 1.0 1.0
getTime() 3.0 1.0 1.0
getFullYear() 4.0 1.0 1.0
getMonth() 3.0 1.0 1.0
getUTCMonth() 4.0 1.0 1.0
getDate() 3.0 1.0 1.0
getUTCDate() 4.0 1.0 1.0
getDay() 3.0 1.0 1.0
getUTCDay() 4.0 1.0 1.0
getHours() 3.0 1.0 1.0
getUTCHours() 4.0 1.0 1.0
getMinutes() 3.0 1.0 1.0
getUTCMinutes() 4.0 1.0 1.0
getSeconds() 3.0 1.0 1.0
getUTCSeconds() 4.0 1.0 1.0
getMilliseconds() 4.0 1.0 1.0
getUTCMilliseconds() 4.0 1.0 1.0
getTimezoneOffset() 4.0 1.0 1.0
setTime(time) 3.0 1.0 1.0
setMilliseconds(ms) 4.0 1.0 1.0
setUTCMilliseconds(ms) 4.0 1.0 1.0
setSeconds(sec [, ms]) 3.0 1.0 1.0
setUTCSeconds(sec [, ms]) 4.0 1.0 1.0
setMinutes(min [, sec [, ms]]) 3.0 1.0 1.0
setUTCMinutes(min [, sec [, ms]]) 4.0 1.0 1.0
setHours(hour [, min [, sec [, ms]]]) 4.0 1.0 1.0
setUTCHours(hour [, min [, sec [, ms]]]) 4.0 1.0 1.0
setDate(date) 4.0 1.0 1.0
setUTCDate(date) 4.0 1.0 1.0
setMonth(month [, date]) 3.0 1.0 1.0
setUTCMonth(month [, date]) 4.0 1.0 1.0
setFullYear(year [, month [, date]]) 4.0 1.0 1.0
setUTCFullYear(year [, month [, date]]) 4.0 1.0 1.0
toUTCString() 4.0 1.0 1.0
prototype的额外属性
getYear() 3.0 1.0 1.0
setYear(year) 3.0 1.0 1.0
toGMTString() 4.0 1.0 1.0

RegExp对象 编辑

Trident Gecko WebKit Presto
调用为函数
RegExp (pattern, flags) ? ? ? ?
调用为constructor
new RegExp (pattern, flags) 4.0 1.0 1.0
属性
prototype 4.0 1.0 1.0
prototype的属性
constructor 4.0 1.0 1.0
exec(string) 4.0 1.0 1.0
test(string) 4.0 1.0 1.0
toString() 4.0 1.0 1.0
实例的属性
source 4.0 1.0 1.0
global 4.0 1.0 1.0
ignoreCase 5.5 1.0 1.0
multiline 5.5 1.0 1.0
lastIndex 4.0 1.0 1.0

Error对象 编辑

Trident Gecko WebKit Presto
调用为函数
Error (message) ? ? ? ?
调用为constructor
new Error (message) 5.0 1.0 1.0
属性
prototype 5.0 1.0 1.0
prototype的属性
constructor 5.0 1.0 1.0
name 5.5 1.0 1.0
message 5.5 1.0 1.0
toString() 5.0 1.0 1.0

NativeError对象 编辑

Trident Gecko WebKit Presto
调用为函数
EvalError (message) ? 1.0 ?
RangeError (message) ? 1.0 ?
ReferenceError (message) ? 1.0 ?
SyntaxError (message) ? 1.0 ?
TypeError (message) ? 1.0 ?
URIError (message) ? 1.0 ?
调用为constructor
new EvalError (message) ? 1.0 ?
new RangeError (message) ? 1.0 ?
new ReferenceError (message) ? 1.0 ?
new SyntaxError (message) ? 1.0 ?
new TypeError (message) ? 1.0 ?
new URIError (message) ? 1.0 ?
属性
prototype ? 1.0 ? ?
prototype的属性
constructor ? 1.0 ? ?
name ? 1.0 ?
message ? 1.0 ?

引用 编辑

  1. ^ Gecko versions and application versions (页面存档备份,存于互联网档案馆).
  2. ^ E4X, Mozilla, [2019-05-18], (原始内容于2013-09-30) 
  3. ^ , Microsoft, [2019-05-18], (原始内容存档于2010-06-27) 

延伸阅读 编辑

外部链接 编辑

  • Webdevout (页面存档备份,存于互联网档案馆) – mostly covers Windows browsers. Extensive bug testing.

javascript引擎比较, 下表比较在网页浏览器内使用一些知名javascript引擎对标准的支持, 目录, 表格解说, ecmascript版本支持, 标准库, 全局对象, object对象, function对象, array对象, string对象, boolean对象, number对象, math对象, date对象, regexp对象, error对象, nativeerror对象, 引用, 延伸阅读, 外部链接表格解说, 编辑完整列表可参见ecmascript引擎列表, 编辑, 这些值指示了在每个. 下表比较在网页浏览器内使用一些知名JavaScript引擎对标准的支持 目录 1 表格解说 1 1 值 2 ECMAScript版本支持 3 标准库 3 1 全局对象 3 2 Object对象 3 3 Function对象 3 4 Array对象 3 5 String对象 3 6 Boolean对象 3 7 Number对象 3 8 Math对象 3 9 Date对象 3 10 RegExp对象 3 11 Error对象 3 12 NativeError对象 4 引用 5 延伸阅读 6 外部链接表格解说 编辑完整列表可参见ECMAScript引擎列表 值 编辑 这些值指示了在每个引擎中对给定项目的支持程度 缺省的 默认为这个引擎的最新版本 但是 可以列出特定版本号 当这指示完全支持的时候 它是这个引擎完全支持这个项目的最初版本 值 含义是 完全支持否 从未支持部份 只支持某些值不正確 在所有情况下未正确实现實驗性質 可能不完全或有缺陷每日构建 目前正在开发 可预期完全支持依情況 只在特定条件下支持抛弃 不再支持ECMAScript版本支持 编辑下表中的版本号为排版引擎的版本号 JavaScript的版本号就是JavaScript引擎中SpiderMonkey的版本号 在ECMAScript Edition 5之后不再延续跟进 Trident Gecko WebKit Presto BlinkECMAScript引擎名称 JScriptChakra SpiderMonkeyTraceMonkeyJagerMonkeyIonMonkey JavaScriptCoreSquirrelFish Extreme Linear BFutharkCarakan V8ECMAScript Edition 3等价于JavaScript 1 5 是 1 7 1 是 1 0 是JavaScript 1 6 扩展 排除E4X 否 1 8 部份 部份 部份JavaScript 1 7 扩展 否 1 8 1 否 部份 否JavaScript 1 8 扩展 否 1 9 部份 否 部份JavaScript 1 8 1 扩展 否 1 9 1 否 否 否ECMAScript Edition 5等价于JavaScript 1 8 5 7 0 2 0 部份 是 是E4X 否 废弃于17 2 否 否 否ECMAScript Edition 6又称ECMAScript 2015 部份 部份 部份ECMAScript 2016扩展 是 是 是ES新近版本2016 扩展 部份 部份 是标准库 编辑全局对象 编辑 Trident Gecko WebKit Presto Blink值属性NaN 4 0 0 6 是 是 是Infinity 4 0 0 6 是 是 是undefined 5 5 0 6 是 是 是函数属性eval x 3 0 0 6 是 是 是parseInt string radix 3 0 0 6 是 是 是parseFloat string 3 0 0 6 是 是 是isNaN number 4 0 0 6 是 是 是isFinite number 4 0 0 6 是 是 是URI处理函数decodeURI encodedURI 5 5 0 6 是 是 是decodeURIComponent encodedURIComponent 5 5 0 6 是 是 是encodeURI uri 5 5 0 6 是 是 是encodeURIComponent uriComponent 5 5 0 6 是 是 是constructor属性Object 4 0 是 是 是 是Function 4 0 是 是 是 是Array 4 0 是 是 是 是String 3 0 是 是 是 是Boolean 3 0 是 是 是 是Number 3 0 是 是 是 是Date 3 0 是 是 是 是RegExp 4 0 是 是 是 是Error 5 0 是 是 是 是EvalError 5 0 是 是 是 是RangeError 5 0 是 是 是 是ReferenceError 5 0 是 是 是 是SyntaxError 5 0 是 是 是 是TypeError 5 0 是 是 是 是URIError 5 0 是 是 是 是其他属性Math 3 0 是 是 是 是额外属性escape string 3 0 是 是 是 是unescape string 3 0 是 是 是 是Object对象 编辑 Trident Gecko WebKit Presto Blink调用为函数Object value 是 是 是 是 是调用为constructornew Object value 4 0 是 是 是 是属性prototype 4 0 是 是 是 是prototype的属性constructor 4 0 是 是 是 是toString 4 0 是 是 是 是toLocaleString 4 0 是 是 是 是valueOf 4 0 是 是 是 是hasOwnProperty V 5 5 是 3 是 是isPrototypeOf V 5 5 是 3 是 是propertyIsEnumerable V 5 5 是 3 是 是Function对象 编辑 Trident Gecko WebKit Presto Blink调用为函数Function p1 p2 body 是 是 是调用为constructornew Function p1 p2 body 4 0 1 0 是 1 0 是属性length 1 0 是 是 是prototype 4 0 1 0 是 1 0 是prototype的属性length 1 0 是 是constructor 4 0 1 0 是 1 0 是toString 4 0 1 0 是 1 0 是apply thisArg argArray 4 0 1 0 是 1 0 是call thisArg arg1 arg2 4 0 1 0 是 1 0 是实例的属性length 4 0 1 0 是 1 0 是prototype 4 0 1 0 是 1 0 是Array对象 编辑 Trident Gecko WebKit Presto Blink调用为函数Array item1 item2 是 是 是 是 是调用为constructornew Array item1 item2 4 0 1 0 是 1 0 是new Array len 4 0 1 0 是 1 0 是属性prototype 4 0 1 0 是 1 0 是prototype的属性constructor 4 0 1 0 是 1 0 是toString 4 0 1 0 是 1 0 是toLocaleString 5 5 1 0 是 1 0 是concat item1 item2 4 0 1 0 是 1 0 是join separator 4 0 1 0 是 1 0 是pop 5 5 1 0 是 1 0 是push item1 item2 5 5 1 0 是 1 0 是reverse 4 0 1 0 是 1 0 是shift 5 5 1 0 是 1 0 是slice start end 4 0 1 0 是 1 0 是sort comparefn 4 0 1 0 是 1 0 是splice start deleteCount item1 item2 5 5 1 0 是 1 0 是unshift item1 item2 5 5 1 0 是 1 0 是indexOf searchElement fromIndex 9 0 3 1 8 522 2 1 是lastIndexOf searchElement fromIndex 1 8 522 2 1 是filter callback thisObject 1 8 522 2 1 是forEach callback thisObject 1 8 522 2 1 是every callback thisObject 1 8 522 2 1 是map callback thisObject 1 8 522 2 1 是some callback thisObject 1 8 522 2 1 是reduce callback initialValue 1 9 528 2 5 22 是reduceRight callback initialValue 1 9 528 2 5 22 是实例的属性length 4 0 1 0 是 1 0 是String对象 编辑 Trident Gecko WebKit Presto Blink调用为函数String value 是 是 是 是 是调用为constructornew String value 3 0 1 0 是 1 0 是属性prototype 4 0 1 0 是 1 0 是fromCharCode char0 char1 4 0 1 0 是 1 0 是prototype的属性constructor 4 0 1 0 是 1 0 是toString 3 0 1 0 是 1 0 是valueOf 3 0 1 0 是 1 0 是charAt pos 3 0 1 0 是 1 0 是charCodeAt pos 5 5 1 0 是 1 0 是concat string1 string2 4 0 1 0 是 1 0 是indexOf searchString position 3 0 1 0 是 1 0 是lastIndexOf searchString position 3 0 1 0 是 1 0 是localeCompare that 5 5 1 0 是 1 0 是match regexp 4 0 1 0 是 1 0 是replace searchValue replaceValue 3 0 1 0 是 1 0 是search regexp 4 0 1 0 是 1 0 是slice start end 4 0 1 0 是 1 0 是split separator limit 4 0 1 0 是 1 0 是substring start end 3 0 1 0 是 1 0 是toLowerCase 3 0 1 0 是 1 0 是toLocaleLowerCase comparefn 3 0 1 0 是 1 0 是toUpperCase 3 0 1 0 是 1 0 是toLocaleUpperCase 3 0 1 0 是 1 0 是prototype的额外属性substr start length 4 0 1 0 是 1 0 是实例的属性length 3 0 1 0 是 1 0 是Boolean对象 编辑 Trident Gecko WebKit Presto Blink调用为函数Boolean value 是 是 是 是 是调用为constructornew Boolean value 3 0 是 是 是 是属性prototype 4 0 是 是 是 是prototype的属性constructor 4 0 是 是 是 是toString 4 0 是 是 是 是valueOf 4 0 是 是 是 是Number对象 编辑 Trident Gecko WebKit Presto调用为函数Number value 是 是 调用为constructornew Number value 3 0 1 0 是 1 0属性prototype 4 0 1 0 是 1 0MAX VALUE 4 0 1 0 是 1 0MIN VALUE 4 0 1 0 是 1 0NaN 4 0 1 0 是 1 0NEGATIVE INFINITY 4 0 1 0 是 1 0POSITIVE INFINITY 4 0 1 0 是 1 0prototype的属性constructor 4 0 1 0 是 1 0toString radix 4 0 1 0 是 1 0toLocaleString 5 5 1 0 是 1 0valueOf 4 0 1 0 是 1 0toFixed fractionDigits 5 5 1 0 是 1 0toExponential fractionDigits 5 5 1 0 是 1 0toPrecision precision 5 5 1 0 是 1 0Math对象 编辑 Trident Gecko WebKit Presto值属性E 3 0 1 0 是 1 0LN10 3 0 1 0 是 1 0LN2 3 0 1 0 是 1 0LOG2E 3 0 1 0 是 1 0LOG10E 3 0 1 0 是 1 0PI 是 是 是 是SQRT1 2 3 0 1 0 是 1 0SQRT2 是 是 是 是函数属性abs x 3 0 1 0 是 1 0acos x 3 0 1 0 是 1 0asin x 3 0 1 0 是 1 0atan x 3 0 1 0 是 1 0atan2 y x 3 0 1 0 是 1 0ceil x 3 0 1 0 是 1 0cos x 3 0 1 0 是 1 0exp x 3 0 1 0 是 1 0floor x 3 0 1 0 是 1 0log x 3 0 1 0 是 1 0max value1 value2 3 0 1 0 是 1 0min value1 value2 3 0 1 0 是 1 0pow x y 3 0 1 0 是 1 0random 3 0 1 0 是 1 0round x 3 0 1 0 是 1 0sin x 3 0 1 0 是 1 0sqrt x 3 0 1 0 是 1 0tan x 3 0 1 0 是 1 0Date对象 编辑 Trident Gecko WebKit Presto调用为函数Date year month date hours minutes seconds ms 调用为constructornew Date year month date hours minutes seconds ms 4 0 1 0 是 1 0new Date value 4 0 1 0 是 1 0new Date 4 0 1 0 是 1 0属性prototype 4 0 1 0 是 1 0parse string 3 0 1 0 是 1 0UTC year month date hours minutes seconds ms 3 0 1 0 是 1 0prototype的属性constructor 4 0 1 0 是 1 0toString 4 0 1 0 是 1 0toDateString 4 0 1 0 是 1 0toTimeString 4 0 1 0 是 1 0toLocaleString 4 0 1 0 是 1 0toLocaleDateString 4 0 1 0 是 1 0toLocaleTimeString 4 0 1 0 是 1 0valueOf 4 0 1 0 是 1 0getTime 3 0 1 0 是 1 0getFullYear 4 0 1 0 是 1 0getMonth 3 0 1 0 是 1 0getUTCMonth 4 0 1 0 是 1 0getDate 3 0 1 0 是 1 0getUTCDate 4 0 1 0 是 1 0getDay 3 0 1 0 是 1 0getUTCDay 4 0 1 0 是 1 0getHours 3 0 1 0 是 1 0getUTCHours 4 0 1 0 是 1 0getMinutes 3 0 1 0 是 1 0getUTCMinutes 4 0 1 0 是 1 0getSeconds 3 0 1 0 是 1 0getUTCSeconds 4 0 1 0 是 1 0getMilliseconds 4 0 1 0 是 1 0getUTCMilliseconds 4 0 1 0 是 1 0getTimezoneOffset 4 0 1 0 是 1 0setTime time 3 0 1 0 是 1 0setMilliseconds ms 4 0 1 0 是 1 0setUTCMilliseconds ms 4 0 1 0 是 1 0setSeconds sec ms 3 0 1 0 是 1 0setUTCSeconds sec ms 4 0 1 0 是 1 0setMinutes min sec ms 3 0 1 0 是 1 0setUTCMinutes min sec ms 4 0 1 0 是 1 0setHours hour min sec ms 4 0 1 0 是 1 0setUTCHours hour min sec ms 4 0 1 0 是 1 0setDate date 4 0 1 0 是 1 0setUTCDate date 4 0 1 0 是 1 0setMonth month date 3 0 1 0 是 1 0setUTCMonth month date 4 0 1 0 是 1 0setFullYear year month date 4 0 1 0 是 1 0setUTCFullYear year month date 4 0 1 0 是 1 0toUTCString 4 0 1 0 是 1 0prototype的额外属性getYear 3 0 1 0 是 1 0setYear year 3 0 1 0 是 1 0toGMTString 4 0 1 0 是 1 0RegExp对象 编辑 Trident Gecko WebKit Presto调用为函数RegExp pattern flags 调用为constructornew RegExp pattern flags 4 0 1 0 是 1 0属性prototype 4 0 1 0 是 1 0prototype的属性constructor 4 0 1 0 是 1 0exec string 4 0 1 0 是 1 0test string 4 0 1 0 是 1 0toString 4 0 1 0 是 1 0实例的属性source 4 0 1 0 是 1 0global 4 0 1 0 是 1 0ignoreCase 5 5 1 0 是 1 0multiline 5 5 1 0 是 1 0lastIndex 4 0 1 0 是 1 0Error对象 编辑 Trident Gecko WebKit Presto调用为函数Error message 调用为constructornew Error message 5 0 1 0 是 1 0属性prototype 5 0 1 0 是 1 0prototype的属性constructor 5 0 1 0 是 1 0name 5 5 1 0 是 1 0message 5 5 1 0 是 1 0toString 5 0 1 0 是 1 0NativeError对象 编辑 Trident Gecko WebKit Presto调用为函数EvalError message 1 0 是 RangeError message 1 0 是 ReferenceError message 1 0 是 SyntaxError message 1 0 是 TypeError message 1 0 是 URIError message 1 0 是 调用为constructornew EvalError message 1 0 是 new RangeError message 1 0 是 new ReferenceError message 1 0 是 new SyntaxError message 1 0 是 new TypeError message 1 0 是 new URIError message 1 0 是 属性prototype 1 0 prototype的属性constructor 1 0 name 1 0 是 message 1 0 是 引用 编辑 Gecko versions and application versions 页面存档备份 存于互联网档案馆 E4X Mozilla 2019 05 18 原始内容存档于2013 09 30 ECMAScript 5 Arrays Microsoft 2019 05 18 原始内容存档于2010 06 27 延伸阅读 编辑ECMAScript object support in Opera JavaScript tests amp Compatibility tables 页面存档备份 存于互联网档案馆 ECMAScript 6 compatibility table 页面存档备份 存于互联网档案馆 外部链接 编辑Webdevout 页面存档备份 存于互联网档案馆 mostly covers Windows browsers Extensive bug testing 取自 https zh wikipedia org w index php title JavaScript引擎比较 amp oldid 64156762, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。