4
JavaScript Functions and Timers
In this chapter, you’ll discover a lot more about JavaScript. We also look a bit deeper into Cloud9, and you’ll learn how to use it for debugging JavaScript.
This chapter discusses the more advanced features of the JavaScript language such as timers, objects, and modules. Later on in the chapter, the program examples are long enough for you not to want to type them in from scratch. You can find the code for all the programs (of any length) in the book at the book’s web page (www.beaglebonebook.com) under the Code section. Here, you will find each program in its own file, identified by the chapter number and then the program listing number.
More on Ifs
In the previous chapter, we skated over the surface of some ...

Get Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript 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.