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