Sign in
webkit
/
WebKit
/
2e2cb00ac8a118644a070f63a7b5ac6a2db0e0aa
/
.
/
JSTests
/
es6
/
function_name_property_class_statements.js
blob: fb00b9be563830954765dccd1a101a4d3c169105 [
file
] [
log
] [
blame
]
function
test
()
{
class
foo
{};
class
bar
{
static
name
()
{}
};
return
foo
.
name
===
"foo"
&&
typeof
bar
.
name
===
"function"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);