I start in the programming and I come to your help.
I made a while loop which responds correctly when I add a condition, however when I add a 2nd condition the loop goes into an infinite cycle even though the conditions are true and must come out of the loop. loop.
I share my code and I am grateful with your quick answers:
var operacion= prompt("Ingresu su operación");
while(operacion!="sumar" || operacion!="restar"){
operacion= prompt("Esta operación no está contemplada");
}