O'Reilly logo

Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript by Simon Monk

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

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

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