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