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

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.

主站蜘蛛池模板: 吴忠市| 五台县| 江川县| 乾安县| 武汉市| 吉林省| 武冈市| 准格尔旗| 芦山县| 札达县| 西青区| 高邮市| 卫辉市| 乐业县| 育儿| 延津县| 洛宁县| 沂南县| 射阳县| 高平市| 察隅县| 清流县| 乃东县| 郑州市| 临邑县| 南和县| 唐河县| 阜新| 高州市| 礼泉县| 东城区| 彭泽县| 桂东县| 类乌齐县| 贵定县| 梅河口市| 舒城县| 巴东县| 海兴县| 邮箱| 固阳县|