The Principles of Object-Oriented JavaScript Quotes

Rate this book
Clear rating
The Principles of Object-Oriented JavaScript The Principles of Object-Oriented JavaScript by Nicholas C. Zakas
602 ratings, 4.36 average rating, 62 reviews
Open Preview
The Principles of Object-Oriented JavaScript Quotes Showing 1-2 of 2
“A literal is syntax that allows you to define a reference value without explicitly creating an object, using the new operator and the object’s constructor.”
Nicholas C. Zakas, The Principles of Object-Oriented JavaScript
“JavaScript is a garbage-collected language, so you don’t really need to worry about memory allocations when you use reference types. However, it’s best to dereference objects that you no longer need so that the garbage collector can free up that memory. The best way to do this is to set the object variable to null.”
Nicholas C. Zakas, The Principles of Object-Oriented JavaScript