官术网_书友最值得收藏!

Summary

JavaScript applications can improve in clarity and quality by allowing for the greater degree of control and structure that object-orientation can bring to the code. JavaScript object-orientation is based on the function prototypes and prototypal inheritance. These two ideas can provide an incredible amount of wealth to developers.

In this chapter, we saw basic object creation and manipulation. We looked at how constructor functions are used to create objects. We ped into prototype chains and how inheritance operates on the idea of prototype chains. These foundations will be used to build your knowledge of JavaScript patterns that we will explore in the next chapter.

主站蜘蛛池模板: 苗栗市| 无极县| 理塘县| 泾源县| 新郑市| 德惠市| 兴宁市| 巴马| 太原市| 金堂县| 拜城县| 阿瓦提县| 安庆市| 浦北县| 特克斯县| 文昌市| 泌阳县| 英德市| 莒南县| 钟山县| 洪江市| 玉林市| 双峰县| 酉阳| 法库县| 阿克陶县| 红河县| 新余市| 扎兰屯市| 油尖旺区| 丰顺县| 泰安市| 阿尔山市| 虎林市| 工布江达县| 贞丰县| 南城县| 木兰县| 潍坊市| 交口县| 隆回县|