Chapter 3JavaScript Fundamentals
“Building” a Script
In the last chapter you were introduced to the basic structure of JavaScript and some simple scripts. Now we will begin to explore the details of JavaScript. In this chapter you will learn all the basic elements of JavaScript. As we begin to cover the basics of JavaScript, it is important to remember that it has many fundamental concepts in common with all programming languages, including its basic elements. So if you have worked with any other programming languages, this won’t be difficult to learn. It has variables that hold data, it has expressions or statements, and it has functions. These building blocks are used to construct your JavaScript script. I will explain each of these elements ...
Get Advanced Javascript, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.