In Part 2 of our JavaScript section, we will be covering data types, strings and, one of the most important and challenging concepts of JavaScript, objects.
So far on our journey into the world of JavaScript, we have created many variables and assigned them different values. We have assigned them some snippets of text, such as in our ‘Hello World!’ examples. We have also assigned them numbers, like in our function examples. Each of these different types of information that we assign to a variable is called a ‘data type’. So far we have seen strings (text, such as ‘Hello World’) and numbers. Let’s quickly see examples of these again to refresh our understanding: