Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
strict-catch-ident-syntax.js
blob: 2058e5aa29c844d3da6f9ec5ddf635802843468e [
file
] [
log
] [
blame
]
/* Parse correctly. */
function
assignToClassListStrict
(
e
)
{
"use strict"
;
try
{
e
.
classList
=
"foo"
;
ok
(
false
,
"assigning to classList didn't throw"
);
}
catch
(
e
)
{
}
}