swc/crates/swc_ecma_parser/tests/tsc/objectLiteralShorthandProperties.ts

21 lines
147 B
TypeScript

// @target: es5
var a, b, c;
var x1 = {
a
};
var x2 = {
a,
}
var x3 = {
a: 0,
b,
c,
d() { },
x3,
parent: x3
};