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