19 lines
399 B
TypeScript
19 lines
399 B
TypeScript
//// [objectLiteralWithGetAccessorInsideFunction.ts]
|
|
function bar() {
|
|
var x = {
|
|
get _extraOccluded() {
|
|
var occluded = 0;
|
|
return occluded;
|
|
},
|
|
}
|
|
}
|
|
|
|
//// [objectLiteralWithGetAccessorInsideFunction.js]
|
|
function bar() {
|
|
var x = {
|
|
get _extraOccluded() {
|
|
var occluded = 0;
|
|
return occluded;
|
|
}
|
|
};
|
|
}
|