What is the Purpose of JavaScript?
So, this is the part you've been dreading. JavaScript is a very versatile language, so in order to explain what JavaScript is, we must first answer some fundamental questions such as "what is JavaScript?", "what does it look like?", and "what can it do?", before moving on to taking you through your first practical experience of writing JavaScript. After that, we discuss some key building blocks in detail, such as variables, strings, numbers and arrays. It's important to note that if for some reason you're trying to read this section without having read over the first two sections it might be a little difficult to explain some of the ideas.