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