22 lines
459 B
TypeScript
22 lines
459 B
TypeScript
//// [arguments.ts]
|
|
function f() {
|
|
var x=arguments[12];
|
|
(() => arguments)();
|
|
}
|
|
|
|
(() => arguments)();
|
|
|
|
interface I {
|
|
method(args: typeof arguments): void;
|
|
fn: (args: typeof arguments) => void;
|
|
(args: typeof arguments): void;
|
|
new (args: typeof arguments): void;
|
|
construct: new (args: typeof arguments) => void;
|
|
}
|
|
|
|
//// [arguments.js]
|
|
function f() {
|
|
var x = arguments[12];
|
|
(() => arguments)();
|
|
}
|
|
(() => arguments)();
|