Sign in
webkit
/
WebKit
/
8811b522c4d9fd9fbebc2e2caf8f1ebff78163f9
/
.
/
JSTests
/
es6
/
class_methods_arent_enumerable.js
blob: aa6eed4d90847c6c6b787c04c735a10a9770b1e0 [
file
] [
log
] [
blame
]
function
test
()
{
class
C
{
foo
()
{}
static
bar
()
{}
}
return
!
C
.
prototype
.
propertyIsEnumerable
(
"foo"
)
&&
!
C
.
propertyIsEnumerable
(
"bar"
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);