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