JavaScript
-
Immediately Invoked Function Expression (IIFE) in JavaScript
In JavaScript, an Immediately Invoked Function Expression (IIFE) is a JavaScript function expression that executes as soon as it defined. This function will print to the console ‘Hello World’ right […]
-
Understand the forEach() method in JavaScript
The forEach method in JavaScript is one of the most used methods to work with arrays. The Array.prototype.forEach() method was introduced in ES6 for looping through arrays. Basically, this method executes a […]
-
A Definitive Guide To map(), filter(), and reduce() in JavaScript
The concept of functional programming becomes more and more prevalent in mainstream languages nowadays. Even Java has lambda expression and a lot of built-in functional techniques, so why not JavaScript, […]
-
ES6 Tutorial: Escape Callback Hell with Promises in JavaScript
Asynchronous programming allows the computer to move to other tasks while waiting for asynchronous operations to complete. By doing so, we don’t have to put everything to a halt because […]
-
Understand Callback functions in JavaScript through examples
In modern JavaScript development, the concepts of functional programming and asynchronous programming become more and more prevalent. When talking about those terms, we usually see something like “callback” or “higher-order […]
-
A Detailed Guide To Create A Simple Todo-list with plain JavaScript for Absolute Beginners
Building projects are a great way to learn and consolidate your knowledge, and usually, it’s better to learn by usage rather than memorization. This is the reason why I have […]
-
ES6 Tutorial: A Quick Introduction to Default Parameters in JavaScript
JavaScript ES6 comes and provides us a number of useful features, the default parameter is one of them. In this article, we will discover what default parameters are, how and […]
-
JavaScript Tips & Tricks: Go Beyond console.log()
If you use the browser as your debugging tool for your JavaScript code, then the console.log can be used intensively, whether you just want to see a message from a […]
-
ES6 Tutorial: Template Literals And Tagged Templates
In this tutorial, we are going to learn a concept that is pretty easy in JavaScript but very useful, which is the template string. Before JavaScript ES6, we either indicate […]
-
Double equals (==) vs. Triple equals (===) in JavaScript
JavaScript is a dynamically typed language, meaning that you don’t have to specify the type of variables when working with this language, the type of your variables can be changed later on […]