{"action":"created","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/1925","repository_url":"https://api.github.com/repos/nodeschool/discussions","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/1925/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/1925/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/1925/events","html_url":"https://github.com/nodeschool/discussions/issues/1925","id":189446479,"number":1925,"title":"Iterando con FOR (Ejercicio 10 - 19)","user":{"login":"IgnacioGans","id":3810688,"avatar_url":"https://avatars.githubusercontent.com/u/3810688?v=3","gravatar_id":"","url":"https://api.github.com/users/IgnacioGans","html_url":"https://github.com/IgnacioGans","followers_url":"https://api.github.com/users/IgnacioGans/followers","following_url":"https://api.github.com/users/IgnacioGans/following{/other_user}","gists_url":"https://api.github.com/users/IgnacioGans/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnacioGans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnacioGans/subscriptions","organizations_url":"https://api.github.com/users/IgnacioGans/orgs","repos_url":"https://api.github.com/users/IgnacioGans/repos","events_url":"https://api.github.com/users/IgnacioGans/events{/privacy}","received_events_url":"https://api.github.com/users/IgnacioGans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T16:52:44Z","updated_at":"2016-11-16T01:03:03Z","closed_at":null,"body":"Hola a Todos!\r\n\r\nVoy directo al grano, en el siguiente ejercicio (Ejercicio 10 - 19), he intentado usar el bucle FOR de la siguiente manera:\r\n\r\n```\r\nvar total = 0;\r\nvar limit = 10;\r\n\r\nfor (var total += i; i < 10; i++) {\r\n\t\r\n};\r\nconsole.log(total);\r\n```\r\n\r\nEvidentemente no estoy iterando correctamente lo que me plantea la consola de javascripting, por lo que respecta en ese ejercicio soy muy noob con los bucle FOR.  \r\nAgradecería cualquier material para entender y lograr pasar ese nivel del Bucle FOR.\r\n\r\nSaludos\r\nRemking \r\n"},"comment":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/comments/260821320","html_url":"https://github.com/nodeschool/discussions/issues/1925#issuecomment-260821320","issue_url":"https://api.github.com/repos/nodeschool/discussions/issues/1925","id":260821320,"user":{"login":"noffle","id":489362,"avatar_url":"https://avatars.githubusercontent.com/u/489362?v=3","gravatar_id":"","url":"https://api.github.com/users/noffle","html_url":"https://github.com/noffle","followers_url":"https://api.github.com/users/noffle/followers","following_url":"https://api.github.com/users/noffle/following{/other_user}","gists_url":"https://api.github.com/users/noffle/gists{/gist_id}","starred_url":"https://api.github.com/users/noffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noffle/subscriptions","organizations_url":"https://api.github.com/users/noffle/orgs","repos_url":"https://api.github.com/users/noffle/repos","events_url":"https://api.github.com/users/noffle/events{/privacy}","received_events_url":"https://api.github.com/users/noffle/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T01:03:03Z","updated_at":"2016-11-16T01:03:03Z","body":"¡Hola! Estás muy cerca.\r\n\r\nPara imprimir los números de 1 a 10, escribiría\r\n\r\n```js\r\nfor (var i = 0; i < 10; i++) {\r\n  console.log(i)\r\n}\r\n```\r\n\r\nLas tres partes de FOR son 1) declaración de variables, 2) condición, 3) incremento. Usted tiene 2 y 3 correctos pero necesita fijar 1."}}
{"actor":{"display_login":"noffle"}}