The code below shows the name is deprecated, with the message:
'name' is deprecated.ts(6385) lib.dom.d.ts(17693, 5):
The declaration was marked as deprecated here.
let name = 'mayk';
let names = ['joao','felipe','marcelo'];
for(let char of name){
}
But if I set name1 for example it works,why is that?