Comparison Between Double Equals vs. Triple Equals in JavaScript
JavaScript has two sets of equality operators Double Equals and Triple Equals. === and !==, and their evil twins == and !=. The good ones work the way you would expect. If the two operands are of the same type and have the same value, then === produces true and !== produces false.