Array Extension methods - Typescript This is step by step guide to create custom library for extension method on Javascript Array using Typescript. Tools and framework we are going to use are Visual studio code , which you can download from here . Framework : NodeJs Open Command prompt and type following commands mkdir demo-extension-lib cd demo-extension-lib We are in your target directory, type following command npm init npm will guide you through the series of questions. Which you can change according to your requirement or go with the default ones. Once npm is done with initialization, Open demo-extension-lib in any editor of your choice. We will use Visual Studio Code for our demo. You will se single file package.json as we do not have any other library install. We will start by adding two directory src - for source code and test - to add test cases. Add type script file with name extension.ts. In that file, declare Array interface to global name...
JavaScript to Java and .Net ........!