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