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

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.

主站蜘蛛池模板: 田东县| 铜鼓县| 宣威市| 西乡县| 昭觉县| 苍溪县| 平原县| 五家渠市| 福海县| 德安县| 隆昌县| 扎赉特旗| 宝兴县| 昌图县| 岑巩县| 和平区| 丰顺县| 德令哈市| 泰安市| 渝北区| 鸡东县| 临邑县| 株洲县| 余庆县| 乐至县| 石渠县| 南华县| 昌吉市| 钟山县| 铜鼓县| 双牌县| 奉节县| 巴彦淖尔市| 平泉县| 全椒县| 出国| 邮箱| 慈利县| 贵溪市| 乌鲁木齐市| 札达县|