I’ve been working on Ellio for couple of months, I’ve been using it with my team at my current job and it’s been saving me a lot of time. Also it’s been helping devs on the team to be more involved in plannings and collaborate more effectively. …


Learn how to write asynchronous programs using promises and async/await

There is no doubt that JavaScript, despite its history, has become to be one of the most popular programming languages today. JavaScript, due to its asynchronous nature, can present some challenges for those who are new to the language. In this article, we are going to write small async programs…


In this article I’ll walk you through modeling Social Library, a social app for book enthusiasts, using GunDB. This fictitious app helps readers create favorite lists from the books they like, leave reviews and follow other readers and authors. I’ll start by talking about what data modeling is and then…


Exploring the basics

Recently I’ve been playing around with GunDB and I wanted to share with you what I’ve learned so far. GunDB, a.k.a Gun, a.k.a Gun.js, is more than just a graph database. It’s a group of projects that aims to simplify scaling, improve data security, save costs, and empower application developers.


How do JavaScript bundlers stack up against each other?

In this article I’m going to introduce you to JavaScript module loaders and bundlers. I’ll explain what they are and why they exist. First, I’ll give you an overview of the different module formats and module loaders out there and I’ll present some examples for each. …


In this article I’ll show you how to buy a .app domain, set up a VPS (Virtual Private Server) on DigitalOcean, and serve a simple static website using the Nginx server. Below is an overview of what I’ll be covering:

  • Benefits of .app domains
  • Buying a .app domain
  • Setting up…


After reading this article, you will know everything you need to know about coercion and the double equals operator in JavaScript.

TL;DR: always use the triple equals operator and internalize the coercion algorithms

Double Equals

The double equals operator coerces the operands if their types are not the same, otherwise, it will…


Learn asynchronous programming in JavaScript

The asynchronous nature of JavaScript is one of the aspects of the language that can confuse a lot of people. Having a good understanding of its primary async constructs however, can reduce a lot of confusion about the language. The goal of this guide is to introduce you to async…


Below are some interview questions with answers to accompany the other two articles that I wrote on JavaScript functions and prototypes. The questions are grouped in three categories:

  • functions
  • closures
  • prototypes

The answer for each question is given right after the question.

Functions

Question

What is the output of the following…


There are different ways to interpret the prototype concept in JavaScript, but it can be explained very easily in one sentence:

“In JavaScript, prototypes are objects that facilitate linking of objects and delegation of methods or properties”

That’s really it. The most confusing part about the prototype concept is just…

AJ Meyghani

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