O'Reilly logo

JavaScript Step by Step by Steve Suehring

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

Appendix A. Answer key to exercises

This appendix shows the answers and explanations for the exercises that have appeared throughout the book. In many cases, there is more than one way to solve a problem. Therefore, unless the question specified a particular way to solve the problem, any working implementation is acceptable. It’s also expected that your function names could differ from the ones in this appendix.

Chapter 1

  1. False. Although JavaScript is indeed defined by a standards body, ECMA International, it is not supported on all web browsers. And the support that does exist varies (sometimes widely) among browsers.

  2. False. There are many reasons why a visitor to your website might have JavaScript disabled. The browser they’re using might not support ...

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