Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testStrict.js
blob: 583a2b065d01567a4fd4b3882b0feed089c04fa4 [
file
] [
log
] [
blame
]
function
testStrict
()
{
var
n
=
10
,
a
=
[];
for
(
var
i
=
0
;
i
<
10
;
++
i
)
{
a
[
0
]
=
(
n
===
10
);
a
[
1
]
=
(
n
!==
10
);
a
[
2
]
=
(
n
===
null
);
a
[
3
]
=
(
n
==
null
);
}
return
a
.
join
(
","
);
}
assertEq
(
testStrict
(),
"true,false,false,false"
);