Introduction to TypeScript Data Types — Tuple, Enum, and Any

John Au-Yeung
JavaScript in Plain English
6 min readDec 10, 2019

--

Photo by Matt Nelson on Unsplash

JavaScript, like any other programming language, has its own data structures and types. JavaScript has a few data types that we have to know about in order to build programs with it. Different pieces of data can be put together to build more complex data structures.

JavaScript is a loosely typed, or dynamically typed, language. This means that a variable that’s…

--

--