chapter 3: nature of javascript