Sign in
webkit
/
WebKit
/
7e879361fb932be61b4de77d5f6669f663c67d9c
/
.
/
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"
);