Sign in
webkit
/
WebKit
/
6ddf72b170615ecec95a6e91c205227cc12d556b
/
.
/
JSTests
/
es6
/
object_literal_extensions_string-keyed_shorthand_methods.js
blob: be95a3a71ae5b42aa67f8934b5860810e4abec6f [
file
] [
log
] [
blame
]
function
test
()
{
return
({
"foo bar"
()
{
return
4
;
}
})[
"foo bar"
]()
===
4
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);