Sign in
webkit
/
WebKit
/
fe3f8a9f58c921838bd3a920db5f85be838171cd
/
.
/
JSTests
/
es6
/
class_is_block-scoped.js
blob: 06b401f4862833dabd6c22788708603a0453c2fa [
file
] [
log
] [
blame
]
function
test
()
{
class
C
{}
var
c1
=
C
;
{
class
C
{}
var
c2
=
C
;
}
return
C
===
c1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);