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