Beginning JavaScript Chapter Twelve Exercises B.