4.9. Summary
In this chapter, we started with the basics of JavaScript data types and variables; with a side trip to operators, we covered the basics and a little more.
Our trek continued through the flow-control statements, the conditional ones such as if-then-else and the switch statement. In addition, the looping statements were covered, from the common for loop to the more obscure for-in loop.
Next, JavaScript functions were covered along with the somewhat feared topic of recursive functions. In the same vein as functions, constructors we covered, starting with the "function" method of creating constructors. The prototype method also was covered. Finally, event handling was discussedspecifically, how to set handlers and how to deal with the event when it fires.
|