what is the difference between double equal and triple equal?
While these are both comparison equality operators, the triple equals, === , is what's called a strict equality operator while the double equals is an equality operator. The strict equality operator will compare both the value and type of the operands (the values on the left/right sides of the operator).