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