Skip to content

Tag Archives: JavaScript-Questions

Polyfill is a way to modify or add new functions. It is basically a piece of code to add/modify the new functions. It is used… Read More
Page redirection is a way of redirecting users and web browsers to another web address that was not requested by users. The page to which… Read More
Both Set.clear() and Set.delete() methods modify the present Set by removing elements. But there are some fundamental differences between these two, which will be discussed… Read More
What is memoization? It is a programming technique that is used to increase the efficiency of function by storing the previous values that function has… Read More
Generators are the function whose execution can be paused and resumed as per the requirement of the programmer. We use the yield keyword in this… Read More
The TypeScript scripts written by default are in the global scope which means that all the functions, methods, variables, etc. in one file are accessible… Read More
What is Backbone.js? It is a lightweight library for structuring JavaScript code. It is also regarded as the MVC/MV* kind of framework. If you are… Read More
Shallow copy: In the case of shallow copy when we copy the original object into the clone object then the clone object has the copy… Read More
In this article, we will discuss the working of timers in JavaScript in detail. As we know JavaScript is an asynchronous and single-threaded programming language.… Read More
Server-side storage stores data on the server (i.e. an external database) and client-side storage allow the user to store data on the client (i.e. user’s… Read More
Call() Method: The call method is basically used to invoke the function with different this object. In JavaScript, this refers to an object. It depends… Read More
In simple terms, hoisting in JavaScript refers to the fact that variables can be used before they’re declared. The declared variables are somehow virtually moved… Read More
JavaScript provides a variety of pop-up boxes to alert, alert, or retrieve user input. Pop-up boxes prevent the user from accessing some features of the… Read More
Javascript Object Notation (JSON) is a widely used format for sending and receiving data to or from the server. In this article, we will use… Read More