Skip to content

Tag Archives: JavaScript-Questions

In this article, we learn how JavaScript primitive/object types passed through functions. First, we will see, what are primitive and object data types in JavaScript:… Read More
In Typescript, by default, the visibility of all properties or methods in Typescript classes is “public“. A method with which is public can be accessed… Read More
In Typescript an implements clause can be used to verify that a class conforms to a specific interface. If a class fails to implement an… Read More
Sub-class: A subclass is a class that is derived from the properties and methods of some other class known as the Parent class for that… Read More
In Typescript, Type assertion is a technique that informs the compiler about the type of a variable. Type assertion is similar to typecasting but it… Read More
Here we see the differences on the usage of foo between function foo() {} and var foo = function() {}. function foo() {} is a Normal… Read More
In this article, we will try to understand how we may prevent the promises swallowing errors using several predefined techniques provided by JavaScript. Before diving… Read More
In this article, we will learn how to get and set the scroll position of an HTML element using JavaScript. Approach: We will be using… Read More
Before we get to know the syntax for the leading bang! in a JavaScript function, let’s see what functions in JavaScript are actually are. JavaScript… Read More
Backbone.js was developed by Jeremy Ashkenas. The first version of backbone.js was released on 13th October 2010. It is a lightweight and powerful tool used… Read More
JavaScript is a popular lightweight, interpreted compiled client-side scripting language. Most Web Applications use JavaScript on the client side. By providing JavaScript with a runtime… Read More
In Typescript when we are certain that a particular situation will never happen, we use the never type. For example, suppose you construct a function that… Read More
In this article, we will understand some of the necessary details which are associated with Method Overriding, further, we will see how to implement Method… Read More
In this article, we will try to understand all the basic facts or details which are associated with Rest Parameters and Arguments in TypeScript. Rest… Read More
The typeof operator in JavaScript returns a string that indicates the data type of the operand, whether it be a variable, function, or object. Syntax:… Read More

Start Your Coding Journey Now!