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

  • Expert Angular
  • Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
  • 102字
  • 2021-07-15 17:05:32

Modules

JavaScript is a powerful and dynamic language. With dynamic programming in JavaScript, we need to structure and organize the code so that it will make its maintainability easier and also enable us to easily locate the code for a specific functionality. We can organize code by applying a modular pattern. Code can be separated into various modules, and relevant code can be put in each module.

TypeScript made it easier to implement modular programming using the module keyword. Modules enable you to control the scope of variables, code reusability, and encapsulation. TypeScript supports two types of module: internal and external modules.

主站蜘蛛池模板: 聂拉木县| 即墨市| 西峡县| 恭城| 台前县| 临沂市| 绥芬河市| 中山市| 高安市| 兴安盟| 望谟县| 宿松县| 玉龙| 开鲁县| 南宁市| 花莲市| 舟山市| 滦平县| 舟山市| 青州市| 色达县| 台江县| 岳西县| 临颍县| 北海市| 荥经县| 水富县| 广元市| 贡觉县| 和静县| 专栏| 江城| 勐海县| 濮阳县| 钟祥市| 武穴市| 黄骅市| 徐汇区| 高尔夫| 旺苍县| 五河县|