Tuple Reader in TypeScript
You can create read-only tuples whose elements cannot be modified by specifying the readonly keyword before the tuple type:
typescriptlet user: readonly [string, number] = ['john', 31];
Attempting to modify such a tuple will result in an error:
typescriptuser[0] = 'eric'; //
Задание 1
Tell me what the result of running the following code will be:
typescriptlet time: readonly [number, number, number] = [12, 59, 59];
time[0] = 13;
console.log(time);