There are three built-in collection types in Javascript - Array, Set, and Map.
Arrays are a collection of values that are ordered and indexed. They can store any type of data, including strings, numbers, and objects.
index.tsx342 chars12 lines
Sets are collections of unique values. They can store any type of data, but each value must be unique.
index.tsx328 chars15 lines
Maps are collections of key-value pairs. They can store any type of data as both keys and values.
index.tsx317 chars14 lines
gistlibby LogSnag