Skip to content

Tag Archives: JavaScript-Misc

The difference between properties screenX/Y, clientX/Y, and pageX/Y of JavaScript are commonly confused. Each of the properties returns a value that indicates the number of… Read More
JavaScript does not allow one to close a window opened by the user, using the window.close() method due to security issues. However, we can close… Read More
In JavaScript, variables can be accessed from another file using the <script> tags or the import or export statement. The script tag is mainly used… Read More
Fuzzy searching matches the meaning, not necessarily the precise wording or specified phrases. It performs something the same as full-text search against data to see… Read More
In JavaScript, array is a single variable that is used to store different elements. It is often used when we want to store list of… Read More
In this article, we will learn how to design side navigation feature for mobile web interface using Sidetap plugin. This plugin is a very lightweight… Read More
Large numbers are the numbers that can hold huge memory and evaluation time is more than exceeds space and time to process. We can deal… Read More
The filter() method creates a new array with all elements that pass the test implemented by the provided function. Approach 1: This approach uses filter()… Read More
JavaScript has a large variety of loops available for performing iterations. The following loops along with their syntax are supported by JavaScript. for loop: A… Read More
Unlike the other programming languages, JavaScript Does not support Function Overloading. Here is a small code which shows that JavaScript does not support Function Overloading.  Javascript… Read More
Before learning about Event Delegation in JavaScript, we must be familiar with phases of JavaScript event Event Delegation is basically a pattern to handle… Read More
There are several approaches to upload a file without using the form in JavaScript: Approach 1: This approach is to use FormData that can upload… Read More
A Show More and Show Less functionality can be useful in websites that are heavy in text, like news and magazine websites that contain a… Read More
In JavaScript, onload event is used to check whether a window is loaded or not. Similarly, we can use that event to check whether a… Read More
JavaScript is a high level, dynamically typed object-oriented programming language. An “out of memory” error is thrown when the program exceeds the available memory and… Read More

Start Your Coding Journey Now!