Posts by scarway • 11 points
1 post
-
-1
votes1
answer43
viewsQ: Javascript: Is there a way to do a do-while test the condition before the end of the loop?
Context: I’m developing a text-based RPG and at the time of doing the battle mechanics I’m having this 'problem'. Ex: function verificarEstado(pessoa){ if (pessoa.estado != 'normal') { /* aqui terá…