Video – Step by Step using TypeScript in a Node.js Application

This video explains steps to use TypeScript in a Node.js application. You can read step by step article on the same here -  here Download source code from here https://www.youtube.com/watch?v=fOkAMBVyuo0   To start with create a folder and run npm init command inside the folder. After that install these dependencies,  npm install -D typescript npm install … Continue reading Video – Step by Step using TypeScript in a Node.js Application

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. https://youtu.be/1nG3FKN3KjU   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 … Continue reading Video- Why You need the apply() and the call() methods in JavaScript

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   https://youtu.be/1koTc_lhZLUContinue reading Video – Various ways of creating a function in JavaScript

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 … Continue reading Five Things about JavaScript delete operator

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 … Continue reading All about NaN in JavaScript

What is “let” statement in JavaScript?

Using the let statement, you can create Block scoped local variables in JavaScript. The let statement was introduced in the ECMAScript 6 standard of JavaScript. Before ECMAScript 6, JavaScript had three types of scoping: Global scoping Functional scoping Lexical scoping To explore let statement in detail, consider the code snippet given below: https://gist.github.com/debugmodedotnet/d7bb15f004965cb03ff532e19680195f You will … Continue reading What is “let” statement in JavaScript?

JavaScript Interview Day # 3: what is arguments object in a function

I am very sure that in JavaScript interviews, you must have gone through discussions on functions. It is obvious because functions are very core of JavaScript. Whenever there is a discussion on functions, discussion on arguments object is mandatory. If you do not understand, how arguments works, you do not understand how functions works in … Continue reading JavaScript Interview Day # 3: what is arguments object in a function

C# basics: why we override Equals method

You may have come across questions, Why to override Equals method? How to determine whether two object are equal? How to determine whether two objects are identical? To get answer of all the above questions, let us consider Product class as listed next:   We are creating two instances of the Product class, foo and … Continue reading C# basics: why we override Equals method

Evolution of C Sharp Language: Picture Blog

I was working on something and suddenly a mail popped up. I did not know the sender but I found he/she was a job aspirant. I found him/her very impatient and gist of his/her mail was, "Sir tomorrow I got a job interview. Could you please help me with different versions of C Sharp with … Continue reading Evolution of C Sharp Language: Picture Blog