Tag: Interview
-
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 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 -D […]
-
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 […]
-
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 […]
-
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: This file contains […]
-
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 […]
-
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 […]