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