completed logicalOperators.js