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

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