Posts by user190564 • 1 point
1 post
-
-1
votes10
answers5627
viewsA: Function that returns if one can go to the database with true/false?
Hello, after 1 hour of attempts this solution worked super well. function possoIrAoBanco(diaDaSemana, horaAtual){ return (!(diaDaSemana == "Sábado" || diaDaSemana == "Domingo") && (horaAtual…