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

  • JavaScript:Moving to ES2015
  • Ved Antani Simon Timms Narayan Prusty
  • 82字
  • 2021-07-09 19:07:46

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
主站蜘蛛池模板: 西乡县| 慈溪市| 新河县| 邢台县| 龙川县| 苗栗市| 绥江县| 成武县| 静海县| 凌云县| 成安县| 奉新县| 博乐市| 兖州市| 鄂尔多斯市| 容城县| 禹城市| 武邑县| 城口县| 古交市| 逊克县| 南漳县| 石嘴山市| 闽清县| 永修县| 宜昌市| 瓮安县| 咸阳市| 皋兰县| 东莞市| 永城市| 全椒县| 安康市| 米泉市| 田林县| 黄浦区| 岳池县| 通许县| 手机| 临夏县| 弥勒县|