The Concept of Short-Circuit Evaluation in JavaScript, Simplified
May 4th, 2023 | min read
Short-Circuiting is a concept you'd find in many programming languages, including JavaScript. This mechanism applies when an interpreter is…
May 4th, 2023 | min read
Short-Circuiting is a concept you'd find in many programming languages, including JavaScript. This mechanism applies when an interpreter is…
April 28th, 2023 | min read
The Temporal Dead Zone, abbreviated as TDZ is a concept that applies to JavaScript variables. What does this concept mean? I'll explain that…
November 22nd, 2022 | min read
The Spread operator, just like the Rest operator, is represented with three dots: . The way you use the dots determines what operation…
November 22nd, 2022 | min read
The method in JavaSript is used to concatenate the contents of an existing array with new values to form a new array. I'll explain, with…
October 7th, 2022 | min read
The factorial of a number, in mathematics, is written as n! which reads "n factorial". This factorial means n multiplied by every number…
July 26th, 2022 | min read
The browser triggers numerous events for different things that happen in it. When you click a button, a event is triggered on that button…
July 18th, 2022 | min read
I made a previous post on if statements explained where I explained what conditionals are in JavaScript. Do check it out to get the best of…
July 7th, 2022 | min read
"If you pass 70 score in your exams, I will buy you a bicycle. If you don't, but you pass 50, I will buy you a toy car. And if you don't…
June 4th, 2022 | min read
Have you ever mixed up regex and glob patterns? Those patterns you may have done on your terminal are not regex patterns. They are glob…
May 30th, 2022 | min read
Debouncing is a technique used to optimize application performance by reducing the rate at which functions are called. Some functions are…
May 28th, 2022 | min read
When building applications, you make API requests to servers for different reasons; to authenticate user credentials, fetch resources…
May 24th, 2022 | min read
In JavaScript, the Constructor has many methods that all strings inherit. These methods are helper functions that serve different purposes…
May 17th, 2022 | min read
Using the operator to remove items from an array is not the right way. In this short article, I will explain why. The delete operator works…
March 28th, 2022 | min read
TypeScript is a superset of JavaScript, which I call "JavaScript with powers"—specifically typing powers. With TypeScript, you can add types…
February 10th, 2022 | min read
is a method of the global object , that converts a JavaScript value to a JSON string. There are many reasons for converting objects to a…
September 9th, 2021 | min read
There are a lot of HTTP status codes and sometimes it can be hard to keep track of all of their meanings. In this article, I'll share some…
May 13th, 2021 | min read
Image loading in websites fail for many reasons. It could be that the of the image contains a broken link. Or, the internet connection may…
May 30th, 2020 | min read
and are two very common files you'll find in most packages. What is the purpose of ? Why is longer? Why do packages work perfectly without…
May 16th, 2020 | min read
Did you know that functions are also objects in JavaScript? However, would print out as seen below: Functions are not normal objects (with…
May 16th, 2020 | min read
JavaScript is a prototype-based object-oriented language. Although, you'd see the keyword (in modern Javascript) but it works as prototypes…
May 3rd, 2020 | min read
JavaScript isn't completely JavaScript. The reason I say this is that what many people (like I used to) think JavaScript is (or can do) is…
April 4th, 2020 | min read
elements are usually used in forms to collect values from users. They come in different types - email, password, text, file and so on. The…
March 28th, 2020 | min read
These methods in Javascript are used to scope the keyword in a function. In my article (Almighty this, demystified), I wrote: is an…
March 28th, 2020 | min read
is a popular misunderstood concept in Javascript as during usage, you cannot determine most of the time what it references. In this article…
March 21st, 2020 | min read
is a javascript method (function on an object) that creates a new object while using a former object as the new object's prototype. What are…
March 7th, 2020 | min read
The callback queue and event loop are two features in Javascript which allow asynchronous codes to be executed at a later time A little…
February 23rd, 2020 | min read
, and generally control hoisting of variables. Another feature of is that contrary to variables which can changed, values declared here…
February 22nd, 2020 | min read
A stack is a data structure in programming which consists of different elements. More elements are added by pushing and existing elements…
February 14th, 2020 | min read
Async/Await method makes working with Promises easy. Added to this is that code is very readable compared to nested s. No prior knowledge of…
February 4th, 2020 | min read
The term asynchronous code refers to non-sequential execution of codes. Javascript is a single-threaded language, meaning that only one…
January 25th, 2020 | min read
Template literals was introduced in JavaScript ES2015 (ES6). They are enclosed by the backtick (` `) character. They provide more features…
January 17th, 2020 | min read
What are promises? Promises are used to handle asynchronous events in Javascript. According to the dictionary, A promise is an assurance…
January 9th, 2020 | min read
The margin between web apps and mobile apps is greatly reducing as similar functionalities between them increases. The advent of Progressive…
December 30th, 2019 | min read
What is Javascript? Javascript is a scripting language which is dynamic in nature. It is popularly known for it's usage on the web. With…
December 30th, 2019 | min read
Introduction to the DOM What is the DOM? DOM is an acronym for Document Object Model which refers to a logical representation of a document…
November 26th, 2019 | min read
What is Immutability Immutability is an attribute which stands for unchangeable. When an object is immutable, it is either unable to change…
October 15th, 2019 | min read
Before explaining the target property itself, let's get to understand the Event Interface in Javascript Javascript Event Interface According…
September 17th, 2019 | min read
Have you ever been curious when going over articles, video tutorials or books and come across things like; , and ? Well, I'm usually curious…
July 22nd, 2019 | min read
I usually have issues with this statement and as I was able to have a grasp of it, I decided to write about it. The return statement is a…
Articles written with ❤ by
Dillion Megida