Sign in
webkit
/
WebKit
/
627256ba8ce4daf4e09749b52533e9c6f9614137
/
.
/
JSTests
/
test262
/
harness
/
compareArray.js
blob: 6eb69e6eba012ddc1a1d25f81cbeb4d1b2398111 [
file
] [
log
] [
blame
]
//-----------------------------------------------------------------------------
function
compareArray
(
a
,
b
)
{
if
(
b
.
length
!==
a
.
length
)
{
return
false
;
}
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++)
{
if
(
b
[
i
]
!==
a
[
i
])
{
return
false
;
}
}
return
true
;
}