-
Video- Why You need the apply() and the call() methods in JavaScript
To pass value of ‘this’ object in a function apply and the call methods are used. The apply() and the call() methods are used to call a function indirectly. When you call a function using the apply() and the call() methods, that is called Indirect Invocation Pattern . The first parameter is always the […]
-
Video – Various ways of creating a function in JavaScript
This video teaches you the various ways of creating a function in JavaScript. There are four ways a function can be created in JavaScript. They are as follows: 1. A function as a Statement 2. A function as an Expression 3. A function as an Arrow function 4. A function using Function constructor […]
-
Five Things about JavaScript delete operator
A better understanding of delete operator is necessary for JavaScript developers. As the name suggests, the delete operator deletes properties from the object. You can delete a property as shown below: It returns true on successful deletion. However, in some cases, it may return true even if it does not delete a property. In this […]
-
Summary of the Year 2019
Dear Readers and Community Member, I thank you for all your support, love, and respect in 2019. You have been a constant companion since 2009, and I could not imagine my life without you. Once again, thank you. For me, the Highlight of 2019 was that in May I successfully summited Mount Everest Base Camp. […]
-
Step by Step using TypeScript in a Node.js Application
Download or clone source code from here In this blog post, you are going to learn to configure the Node.js application to use TypeScript. At the end of the blog post, you will have a REST API created using TypeScript and Express in Node.js. Before starting to make sure that you have NodeJS installed on […]
-
Video – All about NaN in JavaScript
In this video, you learn in detail about JavaScript NaN value. You can read the article on the same here
-
All about NaN in JavaScript
In JavaScript, NaN is one of the most confusing concepts; hence, it is often asked in the interview. You may have come across questions such as, What is NaN What is the type of NaN How to check for the NaN What is the difference between isNaN() and Number.isNaN() In this post, let us learn […]
-
Recognized as a Google Developer Expert by Google
I am officially a Google Developer Expert in Angular and Web Technologies. I take this opportunity to thank the Angular global community and all my students who come to my training, meetups, and workshops. This recognition was never possible without you. I am humbled to be one of the few professionals who are awarded as […]
-
How to use Interceptor in Angular
Interceptors are used to intercepts HTTP requests and responses from the application. You can handle them or transform them before passing it on. For example, you can use an interceptor to add authorization token before passing the HTTP request or cache the HTTP response. Some of the usages of interceptors are as follows, Caching of […]
-
When to use the subscribe method or async pipe in Angular?
This post explains when to use subscribe method or async pipe in working with observable data in an Angular application