TypeScript/tests/cases/compiler/objectLiteralWithGetAccessorInsideFunction.ts

8 lines
146 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function bar() {
var x = {
get _extraOccluded() {
var occluded = 0;
return occluded;
},
}
}