Arnab Chakraborty has Published 4452 Articles

How to make your code faster using JavaScript Sets?

Arnab Chakraborty

Arnab Chakraborty

Updated on 23-Aug-2022 07:20:29

1K+ Views

While writing code, we always try to make our code easier to read, less complex, more efficient, and smaller in size. For that, we follow several methodologies which make our code efficient. In this article, we shall focus on some techniques based on Javascript sets to perform certain array-like or ... Read More

How to know whether a value is searched in Javascript sets?

Arnab Chakraborty

Arnab Chakraborty

Updated on 23-Aug-2022 06:54:47

80 Views

In javascript, we may use some sets to hold a few objects. Sometimes we want to check whether an element is present inside a set or not. In this article, we will see different techniques to check whether an element is inside a given set or not.p> A trivial method ... Read More

Async/Await Functions in JavaScript

Arnab Chakraborty

Arnab Chakraborty

Updated on 23-Aug-2022 06:52:12

601 Views

Handling asynchronous tasks is essential for network programming. In JavaScript most cases, we ask for data that are not synchronous to our system. To handle asynchronous systems, we can use Async and Await functions in JavaScript. The async keyword which is used with a function will qualify a javascript function ... Read More

Multiple inheritance in JavaScript

Arnab Chakraborty

Arnab Chakraborty

Updated on 23-Aug-2022 06:39:00

5K+ Views

JavaScript is a partially object-oriented language. To work with this, the object-oriented nature needs to be understood. In this article, we are going to focus on the multiple inheritance concept inside JavaScript. An object can be inherited from multiple other objects, i.e. the object has common property from other parent ... Read More

Method Chaining in JavaScript

Arnab Chakraborty

Arnab Chakraborty

Updated on 23-Aug-2022 06:34:35

7K+ Views

Method or function chaining is a popular method in JavaScript that is used to write more concise and readable code. In this article, we shall discuss the method of chaining tactics in JavaScript and also discuss how it works In some JavaScript programs written with JQuery or some other packages, ... Read More

Practical Uses for Closures in Javascript?

Arnab Chakraborty

Arnab Chakraborty

Updated on 22-Aug-2022 13:55:39

589 Views

In JavaScript, the closure is an environment which helps us to access an outer function’s scope from an inner function. In JavaScript, when a function is created, the closure also created. In other words, we can say closure is a way which allows functions that is present inside outer functions ... Read More

Garbage collection(GC) in JavaScript?

Arnab Chakraborty

Arnab Chakraborty

Updated on 22-Aug-2022 13:39:31

2K+ Views

Memory management in JavaScript is much easier than in low-level languages like C or C++. Unlike low-level languages, JavaScript automatically detects which objects will be needed in later cases and which will be garbage that is occupying memory without any reason. In this article, we shall discuss how garbage collection ... Read More

Memory Management in JavaScript

Arnab Chakraborty

Arnab Chakraborty

Updated on 22-Aug-2022 12:59:07

1K+ Views

Memory management is an essential task when writing a good and effective program in some programming languages. This article will help you to understand different concepts of memory management in JavaScript. In low-level languages like C and C++, programmers should care about the usage of memory in some manual fashion. ... Read More

What are the characteristics of JavaScript 'Strict Mode'?

Arnab Chakraborty

Arnab Chakraborty

Updated on 22-Aug-2022 12:32:00

413 Views

This tutorial will explain you what are the different characteristics of JavaScript 'Strict Mode'. As such, there are two different modes of programming in JavaScript. By default, the simple mode or sometimes known as the sloppy mode is enabled. In this mode, we do not need to follow strict ... Read More

C++ Program to get minimum difference between jigsaw puzzle pieces

Arnab Chakraborty

Arnab Chakraborty

Updated on 08-Apr-2022 11:50:17

204 Views

Suppose we have an array A with m elements and another number n. Amal decided given a present for his n friend, so he will give each of them a jigsaw puzzle. The shop assistant told him that there are m puzzles in the shop, but they might differ in ... Read More

Advertisements