TypeScript/tests/cases/compiler/argumentsBindsToFunctionScopeArgumentList.ts
2014-07-12 17:30:19 -07:00

4 lines
120 B
TypeScript

var arguments = 10;
function foo(a) {
arguments = 10; /// This shouldnt be of type number and result in error.
}