5 lines
149 B
TypeScript
5 lines
149 B
TypeScript
//// [FunctionPropertyAssignments1_es6.ts]
|
|
var v = { *foo() { } }
|
|
|
|
//// [FunctionPropertyAssignments1_es6.js]
|
|
var v = { foo: function () { } };
|