Skip to main content

Asynchronous Programming in JS

· 6 min read
Talha Mujahid
Software Engineer

Asynchronous programming is a way of writing non-blocking code in JavaScript. In traditional programming, code runs sequentially from top to bottom, which means that one line of code is executed at a time. However, when dealing with long-running tasks such as network requests or file I/O, synchronous programming can lead to unresponsive applications.

Call Stack and Callback Queue in JS

· 4 min read
Talha Mujahid
Software Engineer

JavaScript is a single-threaded language, which means it can only perform one task at a time. However, it is capable of handling multiple tasks simultaneously using the concept of Call Stack. The Call Stack is a mechanism used by the JavaScript engine to keep track of function calls. When a function is called, it is added to the top of the Call Stack, and when it returns, it is removed from the stack.

Iterator, Generator and Closure in JS

· 4 min read
Talha Mujahid
Software Engineer

JavaScript is a versatile language that supports several powerful features that make it easier to write efficient, reusable, and modular code. In this blog post, we’ll take a closer look at three such features — iterators, generators, and closures.

Proxy in JS

· 5 min read
Talha Mujahid
Software Engineer

JavaScript Proxy is a powerful feature that was introduced in ECMAScript 6 (ES6) that allows us to intercept and customize operations performed on objects. It allows us to define custom behavior for fundamental operations like object property access, assignment, and deletion. In this blog post, we’ll dive deeper into the concept of proxies in JavaScript.

Module in JS: Import, Export

· 5 min read
Talha Mujahid
Software Engineer

JavaScript modules are a way of organizing code into reusable, self-contained components that can be easily imported and exported between different parts of an application. They provide a mechanism for encapsulating code and avoiding naming collisions, making it easier to build and maintain large-scale applications. In this blog post, we’ll dive deeper into the concept of modules in JavaScript.

Browser Environment in JS

· 9 min read
Talha Mujahid
Software Engineer

JavaScript is a programming language that is widely used for developing web applications. It is a client-side scripting language that runs in the browser. In this document, we will discuss the browser environment in JS.

Browser Events in JS

· 6 min read
Talha Mujahid
Software Engineer

In JavaScript, events are actions or occurrences that happen in the browser, such as a user clicking on a button or a page finishing loading. JavaScript can listen to these events and execute code in response.

Advance Concepts of Events in JS: Bubbling, Capturing

· 6 min read
Talha Mujahid
Software Engineer

Events in JavaScript are a fundamental part of building interactive web applications. They allow us to respond to user actions, such as clicking a button or scrolling the page. In addition to handling events, it is important to understand the concepts of event propagation: bubbling and capturing. In this article, we will dive into these concepts and learn how they can be used to handle events in more advanced ways.

Handling Forms in JS

· 6 min read
Talha Mujahid
Software Engineer

Handling forms is an essential task in web development, and JavaScript provides a powerful and flexible way to handle forms. In this article, we’ll discuss how to handle forms in JavaScript.