Always use '===' as opposed to '=='. There is a bit of extra logic behind '==' that can cause some unexpected problems.