Getting Started

Instead of drawing and moving shapes in this chapter, we’re going to explore the JavaScript programming language. We can do this in the JavaScript console, so let’s start by opening that. Refer to ​Opening and Closing the JavaScript Console​, if you don’t remember how.

The JavaScript console is a web programmer’s best friend. Modern browsers pack the JavaScript console with all kinds of features that help programmers improve network performance, security, memory usage, and lots more. In this book, we use it to debug our code and to experiment with JavaScript. We talked about debugging in Chapter 2, ​Debugging: Fixing Code When Things Go Wrong​. In this chapter, we experiment. And when programmers experiment, ...

Get 3D Game Programming for Kids, 2nd 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.