Sign in
webkit
/
WebKit
/
f0e035561d1c15fb0d80a78df625ae15f92dc2a7
/
.
/
JSTests
/
es6
/
function_name_property_shorthand_methods.js
blob: 557ecdbaf81515ad18ce38f7c489a635c8da2eb1 [
file
] [
log
] [
blame
]
function
test
()
{
var
o
=
{
foo
(){}
};
return
o
.
foo
.
name
===
"foo"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);