Logical operations in JavaScript - Yasho Ganesh