TypeScript/tests/baselines/reference/trailingCommasInGetter.js
2016-06-07 06:10:47 -07:00

17 lines
336 B
TypeScript

//// [trailingCommasInGetter.ts]
class X {
get x(,) { return 0; }
}
//// [trailingCommasInGetter.js]
var X = (function () {
function X() {
}
Object.defineProperty(X.prototype, "x", {
get: function () { return 0; },
enumerable: true,
configurable: true
});
return X;
}());