Sign in
webkit
/
WebKit
/
d4f65fcc3c5c5e5acf4da0072f42bc48017306dc
/
.
/
JSTests
/
es6
/
function_name_property_class_prototype_methods.js
blob: 31142231fc6f99b5abb104a095dc6da6008d6392 [
file
] [
log
] [
blame
]
function
test
()
{
class
C
{
foo
(){}
};
return
(
new
C
).
foo
.
name
===
"foo"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);