- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Imran Alam has Published 54 Articles
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
40K+ Views
JavaScript provides several ways to loop through arrays and objects. The most common way is the for loop, which is used to iterate through the elements of an array or object. However, there are other ways to loop through arrays and objects, such as the forEach() and map() methods.The forEach() ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
880 Views
In JavaScript, there is a method called "Promise.all" that allows you to run an array of promises in parallel. However, sometimes you may want to run your promises in series instead. This can be useful if you want to make sure that each promise is executed one after the other, ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
3K+ Views
In JavaScript, there are often times when we need to find the first non-null/undefined argument in a function. This can be a tricky task, but luckily there are a few methods that can help us accomplish thisUsing Array.prototype.find()One method that can be used to get the first non-null/undefined argument in ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
15K+ Views
When building web applications, there are often times when you need to dynamically generate HTML on the client-side. This can be done using JavaScript, and there are different ways to go about it. In this article, we'll show you how to return HTML or build HTML using JavaScript.Returning HTML from ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
539 Views
The greatest common divisor (GCD) of two or more numbers, also known as the greatest common factor (GCF) or highest common factor (HCF), is the largest positive integer that divides a given number without a remainder. In other words, the GCD is the largest number that is a divisor of ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
2K+ Views
The parseInt() is a built-in function in JavaScript that parses a string and returns an integer. However, there are times when we want to convert a string into an integer without using this function. In this article, we'll explore how to do just that.Using the unary plus operatorOne way to ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
6K+ Views
In this tutorial, we are going to look at how we can return true if the parent element contains the child element in JavaScript. Assuming you have two HTML elements, a parent element, and a child element, and you want to know if the parent element contains the child element.Using ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
3K+ Views
In asynchronous JavaScript, there are two ways to schedule tasks – microtask queue and callback queue. Both queues are handled differently by the JavaScript engine.Microtask QueueA Microtask queue is a queue of tasks that are executed after the current task. The microtask queue is handled by the JavaScript engine before ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
368 Views
In JavaScript, there are various ways to remove elements from an array until the passed function returns true. In this tutorial, we are going to look at 3 methods in detail.Using Array.prototype.filter()The Array.prototype.filter() method can be used to remove elements from an array until the passed function returns true. Please ... Read More
![Imran Alam](https://www.tutorialspoint.com/assets/profiles/477694/profile/60_3212913-1655890638.jpeg)
Imran Alam
8K+ Views
In this tutorial, we will be discussing how to create a currency converter in JavaScript. We will be discussing the various steps involved in creating such a converter.What is a currency converter?A currency converter is a tool that helps you convert one currency to another. For example, if you are ... Read More