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