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

Chapter 2. Organizing Code

In this chapter we'll look at how to organize JavaScript code into reusable, understandable chunks. The language itself 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 for 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 2015 classes
主站蜘蛛池模板: 庄浪县| 霞浦县| 乐清市| 宜城市| 通化县| 綦江县| 沈阳市| 保亭| 二手房| 怀仁县| 常州市| 金溪县| 葫芦岛市| 宜阳县| 莱芜市| 读书| 迁安市| 宜兰市| 怀化市| 德化县| 葫芦岛市| 乌海市| 中卫市| 静乐县| 丰原市| 方城县| 龙江县| 五家渠市| 宾阳县| 志丹县| 镇赉县| 米易县| 库伦旗| 韶关市| 侯马市| 崇仁县| 昭平县| 电白县| 汉寿县| 昌吉市| 弥渡县|