7 lines
98 B
TypeScript
7 lines
98 B
TypeScript
|
// @target: es5
|
||
|
const example = {
|
||
|
get foo() {
|
||
|
return item => this.bar(item);
|
||
|
}
|
||
|
};
|