Are you one of them?

Photo by Wes Hicks on Unsplash

You might have heard that variables hoist, and hoisting this and hoisting that. Let me tell you this beforehand ‘Hoisting’ is an English language convention that we have made up to discuss the idea of lexical scope without thinking about lexical scope.

I will show you why it does not exist and why it is not even possible for it to subsist with a simple piece of code. (Before you begin, please go and have a look for some fundamental Concepts of JS and understand what all those scary terms like Lexical Environment, Syntax Parsers, Execution Contexts mean.)

Let us…

Are you ready for the next wave of productivity revolution?


Software development is entering its third wave of productivity change.

  • The first was the invention of tools like compilers, debuggers, garbage collectors, and languages that made developers more productive.
  • The second was open-source, where a global community of developers came together to build on each other’s work.
  • The third revolution will be the use of AI in coding.

Microsoft’s $1 billion investment in OpenAI is beginning to pay off — first with GPT-3, and now with something exciting for programmers throughout the world.

We’ve already seen enough of the GPT-3, a deep learning-based autoregressive language model that produces human-like text.

Namaste Alain D'EURVEILHER,

Thank you so much for your response.

To clarify your doubt, what I meant was Promise.any() returns the first one out of all resolved ones. We can't say "return if at least one of the promises is resolved" because it doesn't look just for one. Out of all the resolved ones, Promise.any() looks for the one that gets resolved the quickest and returns it.

But I can see the statement can cause some confusion, so I am rephrasing it.

Let me know if you still have any doubt.

Exploit the full power of your console — your little console is more than just a log.

The better you know the machine, the better you can use it!

Yes or no?

Whether you make your living in a blue-collar or white-collar career, you must always have access to the right tools you need to do your job. Otherwise, not only will you not be able to perform in the ways you need to, but you also won’t have as positive a relationship with your work.

“A man is only as good as his tools.”

― Emmert Wolf

Developers debugging…

Learn how to include the awesome upcoming features of ECMAScript 2021 in your current codebase.


JavaScript is a language that is getting better every year. Since the appearance of ES6 in 2015, we’re witnessing a vibrant evolution in the language. Every year some new features are being added to it.

This year we are going to get some really awesome features that will make a whole lot of things easier for the developers.

Let us unravel some of them!

Scared of RegExp? No Worries, the replaceAll method is here!

Regular expressions have a somewhat daunting reputation. …

The only article you need to read to make sense of the “this” keyword in JavaScript.

In this article, we cover the all-important yet so confusing topic in JavaScript which is the “this” keyword.


If “this” scares you, do not worry! We will learn how to determine the value of the “this” keyword using five simple rules.

Those five simple rules are as follows:

  • The Regular One — Default binding
  • Function Inside an Object Implicit binding
  • Function Borrowing Explicit binding
  • Using Function to Create ObjectsNew binding
  • How Arrow Function Differs from the Regular Ones— Lexical binding

Become a better developer after reading this article.

Photo by Agto Nugroho on Unsplash

A Brief History on the Origins Of Bugs

Today, a bug is a term that is used to denote a fault, error, or failure in a piece of computer software, which yields an undesirable result such as a software crash, or incorrect behavior on part of the program.

On September 9–1947, a team of computer scientists and engineers reported the world’s first computer bug. It was not the first time somebody used the word bugs like in this context. …

Learn how programmers use closures to solve various problems

Photo by Wes Hicks on Unsplash

This article is the third part of the series, where we explore the Origins, Under the hood working, Usage in real life, Interview Question related to Closures.

Closures and Memory

Closures can make our code very memory efficient. I have a function here, and we will call it find(), and in this function, we have created array named bigArray. We have used the fill method that comes with arrays, and filled it in with 10000🙏. Our function returns the element of the bigArray based on the index provided as an argument.

Understand Closures in Plain English


This article is the second part of the series where we explore the Origins, Under the hood working, Usage in real life, Interview Question related to Closures.

Welcome to the second part, in this article — we will grok Closures and under the hood mechanism of how they work. Many find the concept of closures very hard. But it won’t be so once you know what happens under the hood.

How JavaScript Borrowed a Decades-Old Idea from Lisp


This article is the first part of the series, where we explore the Origins, Under the hood working, Usage in real life, Interview Question related to Closures.


Quite possibly the most essential standards of virtually all programming dialects is the capacity to store values in variables, and later access or change those qualities.

Without such an idea, a program could play out certain undertakings, yet they would be very restricted. The inclusion of variables into our program begets the most interesting questions like where do those variables live? In other words, where are they stored? …

Somnath Singh

A Modern Day Polymath

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store