Chapter 8. JavaScript Implementations, Syntax Basics, and Variable Types

JavaScript (JS) is a programming language mostly used to produce dynamic and user-interactive webpages. A huge number of websites and all the latest Internet browsers (clients) use and support JavaScript. It is a part of the stack of technologies that every web developer must learn; these include HTML (the content), CSS (the presentation of content), and JS (behavior of the content when a user interacts with the webpage).

Previously, the use of JavaScript was just limited to input validations. For example, it can produce an error message if the user enters invalid information or tries to submit a form with missing information. Now, JS is acknowledged as a fully-fledged programming ...

Get Web Developer's Reference Guide 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.