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

Chapter 2. Organizing Code

In this chapter, we'll look at how to organize JavaScript code into reusable, understandable chunks. The language doesn't lend itself well to this sort of modularization, but a number of methods of organizing JavaScript code have emerged over the years. This chapter will argue the need to break down code, and then work through the methods of creating JavaScript modules.

We will cover the following topics:

  • Global scope
  • Objects
  • Prototype inheritance
  • ECMAScript 6 classes
主站蜘蛛池模板: 丰台区| 大城县| 车致| 攀枝花市| 石台县| 徐水县| 定襄县| 土默特左旗| 昌宁县| 兴业县| 巴彦淖尔市| 阿拉尔市| 海口市| 富锦市| 宁强县| 望奎县| 兴义市| 社会| 泗阳县| 宣化县| 宜昌市| 肃北| 双城市| 兴安盟| 嘉兴市| 阳信县| 松溪县| 深泽县| 宁阳县| 仁寿县| 漳平市| 泸溪县| 河北区| 绥化市| 卫辉市| 阜城县| 泗阳县| 隆昌县| 东乌| 荥经县| 江源县|