11 lines
348 B
TypeScript
11 lines
348 B
TypeScript
//// [argumentsBindsToFunctionScopeArgumentList.ts]
|
|
var arguments = 10;
|
|
function foo(a) {
|
|
arguments = 10; /// This shouldnt be of type number and result in error.
|
|
}
|
|
|
|
//// [argumentsBindsToFunctionScopeArgumentList.js]
|
|
var arguments = 10;
|
|
function foo(a) {
|
|
arguments = 10; /// This shouldnt be of type number and result in error.
|
|
}
|