6 lines
180 B
TypeScript
6 lines
180 B
TypeScript
//// [FunctionPropertyAssignments5_es6.ts]
|
|
var v = { *[foo()]() { } }
|
|
|
|
//// [FunctionPropertyAssignments5_es6.js]
|
|
var v = (_a = {}, _a[foo()] = function () { }, _a);
|
|
var _a;
|