mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
523 B
TypeScript
26 lines
523 B
TypeScript
//// [tests/cases/compiler/arguments.ts] ////
|
|
|
|
//// [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]
|
|
"use strict";
|
|
function f() {
|
|
var x = arguments[12];
|
|
(() => arguments)();
|
|
}
|
|
(() => arguments)();
|