O'Reilly logo

JavaScript™ Phrasebook: Essential Code and Commands by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 book.) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required