Chapter 3. Building JavaScript Programs

After completing this chapter, you will be able to

  • Understand and create functions in JavaScript

  • Understand and create objects in JavaScript

  • Debug JavaScript

THE PREVIOUS TWO CHAPTERS CREATED A FOUNDATION upon which you can build and enhance your knowledge of programming in JavaScript. It might not seem like it at first, but what you’ve seen so far gives you a great base from which to expand.

This chapter looks at functions and objects in JavaScript and ends with a discussion of debugging JavaScript. Debugging is key when programming in any language. Debugging includes not only the tools but also the techniques for successfully troubleshooting problems and figuring out why a program isn’t working. This chapter ...

Get Microsoft® Start Here!™ Learn JavaScript 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.