JavaScript Array sort demystified for you and explains to you its default behavior and shows examples on how to use the comparer functions.
Category: JavaScript
jQuery CSS Method
In this article, we'll demonstrate how we can utilize jQuery to change the element's style by exploring the following methods: css, addClass, removeClass, and toggleClass. We have also shown how we can pass a function when using the css method. See yeah! Cheers!
Identify If a Variable is an Array or Object in JavaScript
This article will show and guide you to choose the functions and operators when checking if a variable is an array or object.
Deep Dive Into JavaScript Functions
This article is an in-depth interpretation of JavaScript functions. Topics will be covered such as function declaration, first-class function, hoisting, signatures, and function types.
ES6 New Array Methods
A walkthrough to the different Array methods of ES6 of what it has to offer. Furthermore, we will answer: “Why these methods are added to the language and issues it resolves?”.
Understanding JavaScript Generators
In this article, we will take a look at JavaScript generators and how it is different from iterators. Moreover; will go in-depth with its methods and see some tips when using function generators on an arrow function and inside an object.
JavaScript Primitive & Reference Types
Built-in types of JavaScript and difference between primitive and reference types
Understanding Maps in JavaScript
Introduction If you are familiar with other languages such as C#, Java, or C++, JavaScript’s map data-structure is similar to a dictionary (dictionary is the equivalent of JavaScript Map in other programming languages). Knowing the concepts of key/value pair data structures in other languages will help you instantly to grasp the basic concepts here. However, … Continue reading Understanding Maps in JavaScript
What’s The Difference Between forEach and map Methods?
If you have stumbled upon the forEach and map methods and went confused with their differences. We are going to answer that in this post.