TypeScript arrays are operated exactly the same way as JavaScript arrays, the only difference being that the former's types are explicitly declared.
TypeScript also introduces tuples, notwithstanding they are not part of any ECMAScript standard (remember that, according to its manifest, the TypeScript language should contain either type elements or features approved in an ECMAScript standard). While other languages such as C# support tuples, since they allow functions to return multiple values, tuples were never considered in any ECMAScript standard. The main reason for this is that they appear unnecessary in a language such as JavaScript, where multiple values are easily handled by arrays, in the form of ["this is a string", 12], which may contain heterogeneous objects. TypeScript, instead, needs a tuples syntax to constrain value types. TypeScript...