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