JavaScript Fetch APIIntroduction The fetch API in JavaScript is used to request data from a server. Think of the fetch method as the two-pronged facade function, Fetch API was introduced in ES6, it was introduced as the successor of XMLHttpRequest which was used for ma...Feb 13, 2023 · 4 min readkalashsharma.hashnode.dev
The Asynchronous World of JavaScriptIntroduction The term "asynchronous" is a combination of the greek term "async" meaning "not with" and "Chronos" meaning "time" is an adjective describing objects or events that are not coordinated with time. In the programming world, asynchronous pr...Jan 29, 2023 · 4 min readkalashsharma.hashnode.dev
Arrow Functions SimplifiedIntroduction The arrow function is new to writing anonymous function expressions in JavaScript. These were introduced in ES6 (2015) and made our code more readable and cleaner by providing a shorter syntax. How to write arrow functions Let's see how ...Jan 22, 2023 · 3 min readkalashsharma.hashnode.dev
The Kraken's Lair: A JavaScript Closure BlogIntroduction The closure is the most esoteric concept of JavaScript. Many JavaScript design patterns including the module pattern use closure. We can build iterators, handle partial applications and maintain a state in an asynchronous world. But befo...Jan 16, 2023 · 6 min readkalashsharma.hashnode.dev
The Quest for Higher Order FunctionsIntroduction This is the new blog in my JavaScript Voyage series. In this blog, we will learn about the concept behind Higher Order Functions. A Higher Order Function (HOF) is a function that takes a function as an argument or returns a function. Le...Jan 8, 2023 · 3 min readkalashsharma.hashnode.dev