Sign in
webkit
/
WebKit
/
2bde0edf56b50cba234b331b5ddd67eb5d2a0a71
/
.
/
JSTests
/
es6
/
object_literal_extensions_shorthand_properties.js
blob: 33552ebccb976f0b434ae1615bf21679de27eedd [
file
] [
log
] [
blame
]
function
test
()
{
var
a
=
7
,
b
=
8
,
c
=
{
a
,
b
};
return
c
.
a
===
7
&&
c
.
b
===
8
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);