The logical operator AND &&is a short circuit operator. This means that it will only move to check the second operand if the first operand true. If the first operand false, the whole expression can only be false, so it makes no sense to check the second operand, so it closes with a short circuit from the operation without checking the second operand.
In this case, this characteristic is used to mean "complete functionCallOneand if it was successfully completed functionCallTwo."
source
share