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