- 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前端開發技術:HTML、CSS、JavaScript(第3版)
- Selenium Design Patterns and Best Practices
- Learning Selenium Testing Tools(Third Edition)
- C++面向對象程序設計習題解答與上機指導(第三版)
- C程序設計實踐教程
- R Data Analysis Cookbook(Second Edition)
- HTML5 APP開發從入門到精通(微課精編版)
- C++20高級編程
- C語言程序設計實訓教程與水平考試指導
- Troubleshooting Citrix XenApp?
- Visual Basic程序設計(第三版)
- Learning Nessus for Penetration Testing
- Arduino電子設計實戰指南:零基礎篇
- Java面向對象程序設計教程
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)