Sign in
webkit
/
WebKit
/
5bd663b95d2fa0048c9b51d7e90d3c09992ceb28
/
.
/
JSTests
/
es6
/
function_name_property_shorthand_methods_no_lexical_binding.js
blob: b2ff9d201e5b360470829daa8d1a64e1073db1d7 [
file
] [
log
] [
blame
]
function
test
()
{
var
f
=
"foo"
;
return
({
f
()
{
return
f
;
}}).
f
()
===
"foo"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);