Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testMatchStringObject.js
blob: cde2da1aed576d9a7cc3cfa3ed664e661b8ae4ce [
file
] [
log
] [
blame
]
function
testMatchStringObject
()
{
var
a
=
new
String
(
"foo"
);
var
b
;
for
(
i
=
0
;
i
<
300
;
i
++)
b
=
a
.
match
(
/bar/
);
return
b
;
}
assertEq
(
testMatchStringObject
(),
null
);