Arrays and tuples

array - collection of items (similar to JavaScript). In TypeScript we can specify what value types we expect for items to be:

let arr: number[] = [];

arr[0] = 1;

arr[0] += "string"; // Type 'string' is not assignable to type 'number'