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