Angular Working with JavaScript Modules
JavaScript modules are used to manage the dependencies in a web application, which means you don’t need to manage a large set of individual code files to ensure that the…
JavaScript modules are used to manage the dependencies in a web application, which means you don’t need to manage a large set of individual code files to ensure that the…
There are several ways to create objects in JavaScript. The following example gives a simple example to get started. let myData = new Object(); myData.name = "Adam"; myData.weather = "sunny";…
JavaScript arrays work like arrays in most other programming languages. The following example shows how you can create and populate an array. let myArray = new Array(); myArray[0] = 100;…
JavaScript defines a largely standard set of operators. I’ve summarized the most useful in the following Table. NameDescription ++, -- Pre- or post-increment and decrement +, -, *, /, %…
The let keyword is used to declare variables and, optionally, assign a value to the variable in a single statement. Variables declared with let are scoped to the region of…
In this post, I provide a quick tour of the most important basic features of the JavaScript language as they apply to Angular development. I don’t have the space to…