Double Equals VS. Triple Equals

Comparison Between Double Equals vs. Triple Equals in JavaScript

Comparing two values with Double Equals vs. Triple Equals in any language is the most used operations. In many cases you may need to compare different variables values, that is the reason in many JavaScript code you will find following lines: if (age == years) {     // do something here  } or JavaScript which follows best practices, you will find: if (age === years) {     // do … Continue reading Comparison Between Double Equals vs. Triple Equals in JavaScript

Multiplication Table

Multiplication Table with HTML5, CSS3 and JavaScript

This is a simple tutorial of Multiplication Table using HTML5, CSS3, and JavaScript. Click the DEMO link to see the demo of this Calculator. Download the source code just click the link – DOWNLOAD (Multiplication Table Zip File) Here the total table is created with JavaScript using for loop. Below see the Codepen Demo. See the Pen Multiplication Table with JavaScript by Pranab (@Phe0nix) on CodePen. And this … Continue reading Multiplication Table with HTML5, CSS3 and JavaScript

Understand Scope

Understand Scope in JavaScript

The scope is one of the very important and basic things of JavaScript that you need to know to understand how the function’s work. So, what is it basically, Scopes basically a priority order for a variable means it’s basically deciding which variables to show and which variables are not. Types of Scope There are many types are available in javascript, but most important types … Continue reading Understand Scope in JavaScript

JS-Null vs. Undefined

Understand Null and Undefined and their differences

Null and Undefined, two are very important terms in the coding world. So, let’s learn about Null – Null basically means if you have nothing to show, you can put null in your code. Look at the example below of Null – var d = null; here, the value of variable d is null means nothing. You cannot do anything with this. Null is not … Continue reading Understand Null and Undefined and their differences