-
Notifications
You must be signed in to change notification settings - Fork 231
Loops: while and for #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
2b924a7
1315688
a14a4cc
4b20b2a
2be400c
0505fed
c5ee1bd
dd2da13
51986c7
2d2105a
c54f0a8
50275d7
a419aab
ad4d41d
617f0c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ La tarea demuestra como las formas de sufjio y prefijo pueden llevar a diferente | |
| while (++i < 5) alert( i ); | ||
| ``` | ||
|
|
||
| El primer valor es `i = 1`, porque primero `++i` incrementa `i` y entonces retorna el valor nuevo. Asi que la primera comparación es `1 < 5` y el `alert` muestra `1`. | ||
| El primer valor es `i = 1`, porque primero `++i` incrementa `i` y entonces retorna el valor nuevo. Así que la primera comparación es `1 < 5` y el `alert` muestra `1`. | ||
|
||
|
|
||
| Entonces siguen `2, 3, 4…` -- los valores son mostrados uno tras de otro. La comparación siempre usa el valor incrementado, porque `++` esta antes de la variable. | ||
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ importance: 4 | |
|
|
||
| --- | ||
|
|
||
| # ¿Cuál valor es mostrado por el bucle while? | ||
| # ¿Qué valores seran mostrados por el bucle while? | ||
|
||
|
|
||
| Para cada iteración del bucle, escribe cual valor sera impreso y entonces comparalo con la solución. | ||
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falta tilde en la U