Difference between == and === Comparison Operators

Recently I was asked the difference between the “==” and “===” comparison operators so I thought I do a quick post since I few of my coworkers wanted to see a demo of the differences. == is equal to. === is exactly equal to (value and type). For example: var test1 = 1; var test2 […]