TypeScript/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.js

18 lines
349 B
TypeScript
Raw Normal View History

2015-04-16 21:42:25 +02:00
//// [emitArrowFunctionWhenUsingArguments12.ts]
class C {
f(arguments) {
var a = () => arguments;
}
}
//// [emitArrowFunctionWhenUsingArguments12.js]
var C = (function () {
function C() {
}
C.prototype.f = function (arguments) {
var a = function () { return arguments; };
};
return C;
})();