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