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