2014-11-15 00:44:06 +01:00
|
|
|
//// [objectLiteralShorthandPropertiesES6.ts]
|
|
|
|
var a, b, c;
|
|
|
|
|
|
|
|
var x1 = {
|
|
|
|
a
|
|
|
|
};
|
|
|
|
|
|
|
|
var x2 = {
|
|
|
|
a,
|
|
|
|
}
|
|
|
|
|
|
|
|
var x3 = {
|
|
|
|
a: 0,
|
|
|
|
b,
|
|
|
|
c,
|
|
|
|
d() { },
|
|
|
|
x3,
|
|
|
|
parent: x3
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//// [objectLiteralShorthandPropertiesES6.js]
|
|
|
|
var a, b, c;
|
|
|
|
var x1 = {
|
|
|
|
a
|
|
|
|
};
|
|
|
|
var x2 = {
|
|
|
|
a,
|
|
|
|
};
|
|
|
|
var x3 = {
|
|
|
|
a: 0,
|
|
|
|
b,
|
|
|
|
c,
|
2015-02-07 03:45:09 +01:00
|
|
|
d() { },
|
2014-11-15 00:44:06 +01:00
|
|
|
x3,
|
|
|
|
parent: x3
|
|
|
|
};
|