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