Sign in
webkit
/
WebKit
/
ebbfb41f995647c93ad81540ba08c24e43676ad9
/
.
/
JSTests
/
es6
/
function_name_property_class_static_methods.js
blob: 491642de423a8c8e3772e7a98ea3cf3bd56d24e0 [
file
] [
log
] [
blame
]
function
test
()
{
class
C
{
static
foo
(){}
};
return
C
.
foo
.
name
===
"foo"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);