javascript logical operators interview answers