Tuesday, August 8, 2017

Using === instead of ==


The == (or !=) operator performs an automatic type conversion if needed. The === (or !==) operator will not perform any conversion. It compares the value and the type, which could be considered faster than ==.

0 comments:

Post a Comment