Автор: Nicholas C. Zakas
Название: The Principles of Object-Oriented jаvascript
Издательство: 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, jаvascript 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—jаvascript 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 jаvascript 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 jаvascript will leave even experienced developers with a deeper understanding of jаvascript. Unlock the secrets behind how objects work in jаvascript so you can write clearer, more flexible, and more efficient code.