Sign in
webkit
/
WebKit
/
4ba7fe936ef6ae9d62102c8eed5d38ba3f6d5cc4
/
.
/
JSTests
/
es6
/
class_static_methods.js
blob: 7735848ee7f89ff4cd1fdc17ac8cefc8b152dade [
file
] [
log
] [
blame
]
function
test
()
{
class
C
{
static
method
()
{
return
3
;
}
}
return
typeof
C
.
method
===
"function"
&&
C
.
method
()
===
3
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);