Understanding JavaScript Conditional Statements

Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a programming language, conditional statements are used to perform certain task repeatedly based on different conditions. For example, when writing codes, we would like to do different action for different situations. Following conditional statements are commonly used in JavaScript: If […]

Learning JavaScript Array.Reduce() Method

Note: This post is work-in-progress learning-note and still in active development and updated regularly. In the previous posts, Understanding JavaScript Arrays  and Learning JavaScript Array Methods were in detail. Because JS array.reduce() method is more complex and an important method, in this learning-post, we will discuss its basic syntax, how it works and explain with some examples. […]

Learning JavaScript Maps & Sets

Note: This post is work-in-progress learning-note and still in active development and updated regularly. The ECMASript 2015 (ES6) defines seven data types: six are primitives (Boolean, Null, Undefined, Number, String & Symbol) and an Object. The object data type is fundamental to JavaScript (JS) language as it holds different data types: primitives, object and functions […]