JavaScript

How To Use Modules in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Modules in TypeScript

Modules are a way to organize your code into smaller, more manageable pieces. TypeScript evolved along with ECMAScript specifications to provide a standard module system for JavaScript programs that has the flexibility to work with the different existing formats. In this tutorial, you will take a look at how to create and use modules in TypeScript.

Read more
How To Use Array Methods in JavaScript: Iteration Methods — step-by-step Javascript tutorial on Progressive Robot

How To Use Array Methods in JavaScript: Iteration Methods

In JavaScript, the array data type consists of a list of elements. There are many useful built-in methods available for JavaScript developers to work with arrays. In this tutorial, we will use iteration methods to loop through arrays, perform functions on each item in an array, filter the desired results of an array, reduce array items down to a single value, and search through arrays to find values or indices.

Read more
How To Use Functions in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Functions in TypeScript

TypeScript fully supports the existing JavaScript syntax for functions, while also adding type information and function overloading as new features. Besides providing extra documentation to the function, type information will also decrease the chances of having bugs. In this tutorial, you will start by creating the most basic functions with type information, then move on to more complex scenarios, like using rest parameters and function overloading.

Read more
CHAT