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