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