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