Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
modules
/
module-namespace-is-sealed.js
blob: 36499b4be7d63f0f60d3ed65e27f875e16a1ac17 [
file
] [
log
] [
blame
] [
edit
]
import
*
as ns from
"./module-namespace-is-sealed.js"
import
{
shouldThrow
}
from
"./resources/assert.js"
shouldThrow
(()
=>
{
Object
.
isSealed
(
ns
);
},
`
ReferenceError
:
Cannot
access
'a'
before initialization
.`);
export
let a
;
export
function
b
()
{
}