A look at how promises work and some of the static methods available to us when writing them

What is a promise?

Promises in JavaScript are a lot like promises in real life. Let’s take a quick look at the definition of a promise.

promise (noun): “A declaration or assurance that one will do something or that a particular thing will happen.”

When you were younger and it…

What‘s going on “under the covers” of JavaScript and the runtime environment

Most developers may have heard of the call stack, or the V8 Engine, or might be aware that JavaScript is a single-threaded language when it’s using a callback queue. With so much of what is going on in the browser being dependent on JavaScript, how many people really know what…

An introduction to the this keyword and how its value is determined in different contexts.

The this keyword in JavaScript is a core concept of the language and can cause confusion for beginners and more advanced developers alike. In this article, I am going to explain the this keyword, and its value in different use cases.

What is this?

Every time we run some JavaScript…

An introduction to JavaScript array looping methods and how they work.

There are a lot of built-in looping array methods available in JavaScript. Looping methods, sometimes called iteration methods, operate on every item in an array, and often they perform a new function.

This article will explore some of the more useful array looping methods and how they work.

What is…

An introduction to JavaScript arrays and how to access and modify the items inside of them.

Arrays are a fundamental part of writing code in JavaScript and are very versatile, they can help us organise our code, making it both more readable and maintainable.

This article explains what an array is, going through some of the methods available when working with arrays and looking at both…

A brief intro to the JavaScript map object and the methods and properties we can use to work with it.

A big part of our role as web developers can be working out the best kind of data structure to use for the job. Maps were introduced to JavaScript in ES2015 as a new kind of iterable object type that allows us to store ordered collections of key:value pairs.


Gemma Stiles

Software Engineer, a11y and user advocate, experienced remote worker, creative coder, lover of all things front-end.

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