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