You are on page 1of 1

Data Types

Important for calculations and code


Numbers 2, -3, 22.956
where you need to “work with a number”

Important for outputting results,


Strings (Text) 'Hi', "Hi", `Hi`
gathering input

Important for conditional code and


Booleans true / false
situations where you only have 2 options

{ name: 'Max', Important for grouped/ related data,


Objects
age: 31 } helps you with organizing data

Important for list data, unknown


Arrays [1, 3, 5]
amounts of data

You might also like