8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
//// [FunctionPropertyAssignments1_es6.ts]
|
|
var v = { *foo() { } }
|
|
|
|
//// [FunctionPropertyAssignments1_es6.js]
|
|
var v = {
|
|
foo: function () {
|
|
}
|
|
};
|