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