Автор: Nicholas C. Zakas Название: The Principles of Object-Oriented javascript Издательство: No Starch Press Год: 2014 ISBN: 9781593275402 Язык: English Формат: pdf Размер: 5,6 mb Страниц: 120
If you've used a more traditional object-oriented language, such as C++ or Java, javascript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—javascript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands.
You'll learn:
– The difference between primitive and reference values – What makes javascript functions so unique – The various ways to create objects – How to define your own constructors – How to work with and understand prototypes – Inheritance patterns for types and objects
The Principles of Object-Oriented javascript will leave even experienced developers with a deeper understanding of javascript. Unlock the secrets behind how objects work in javascript so you can write clearer, more flexible, and more efficient code.