Chapter 1. JavaScript Basics

This chapter covers some basics regarding JavaScript. It does not explicitly cover the language syntax itself—this is covered in enough tutorials and books and does not fit into the phrasebook concept. However, fundamentals such as putting JavaScript code in a page are explained in detail. Also, a bit of JavaScript history and browser war stories are used to get you ready for the phrases to come in the following chapters.

Understanding JavaScript (and Its History)

JavaScript is a client-side scripting language—that means a language that runs on the client side, within a web browser. (JavaScript can also be used on the server side and otherwise outside a browser, but this is not of interest for the purpose of this ...

Get JavaScript™ Phrasebook: Essential Code and Commands 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.