- 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
推薦閱讀
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript(第3版)
- Node.js Design Patterns
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- 劍指JVM:虛擬機(jī)實(shí)踐與性能調(diào)優(yōu)
- PHP 編程從入門到實(shí)踐
- 小程序,巧運(yùn)營:微信小程序運(yùn)營招式大全
- Getting Started with Gulp
- PHP+MySQL+Dreamweaver動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(第3版)
- C#程序設(shè)計(jì)教程(第3版)
- 運(yùn)維前線:一線運(yùn)維專家的運(yùn)維方法、技巧與實(shí)踐
- 交互式程序設(shè)計(jì)(第2版)
- 算法精解:C語言描述
- React and React Native
- Java Web應(yīng)用開發(fā)
- MATLAB計(jì)算機(jī)視覺實(shí)戰(zhàn)