-
-
Save Ifmr24/ddd5ad6f961521d0c092b04e684b1782 to your computer and use it in GitHub Desktop.
JS Do While
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // BUCLE DO WHILE | |
| var years = 15; | |
| do{ | |
| document.write("Se Ejecutara hasta que years sea 25, year es: "+years+"<br>"); | |
| years++; | |
| // Mientras que years sea menor o igual a 25 se ejecutara | |
| }while(years <= 25); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment