6 lines
253 B
TypeScript
6 lines
253 B
TypeScript
//// [simpleArrowFunctionParameterReferencedInObjectLiteral1.ts]
|
|
[].map(() => [].map(p => ({ X: p })));
|
|
|
|
|
|
//// [simpleArrowFunctionParameterReferencedInObjectLiteral1.js]
|
|
[].map(function () { return [].map(function (p) { return ({ X: p }); }); });
|