Appendix A. The Core JavaScript Library
Most of the examples in this book have relied on a small library of useful methods contained in a file named core.js. This library enabled us to set aside the messy details of some of the common tasks you need to perform in most scripts, and focus on the more unique aspects of each example.
In some cases, this library’s methods were a little too complicated to explain in detail at the moment we first needed them. This appendix, therefore, contains a complete description of the Core library, and how each of its methods works.
The Object
Like most of the scripts in this book, the Core library encloses all of its functions within a JavaScript object, making them methods of that object. In the ...
Get Simply 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.