TypeScript/tests/cases/compiler/jsSelfReferencingArgumentsFunction.ts
2017-06-07 11:28:26 -07:00

9 lines
127 B
TypeScript

// @Filename: foo.js
// @noEmit: true
// @allowJs: true
// Test #16139
function Foo() {
arguments;
return new Foo();
}