{"action":"created","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/1495","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/1495/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/1495/events","html_url":"https://github.com/nodeschool/discussions/issues/1495","id":111298795,"number":1495,"title":"Question with for-loops","user":{"login":"adelin2011","id":13965058,"avatar_url":"https://avatars.githubusercontent.com/u/13965058?v=3","gravatar_id":"","url":"https://api.github.com/users/adelin2011","html_url":"https://github.com/adelin2011","followers_url":"https://api.github.com/users/adelin2011/followers","following_url":"https://api.github.com/users/adelin2011/following{/other_user}","gists_url":"https://api.github.com/users/adelin2011/gists{/gist_id}","starred_url":"https://api.github.com/users/adelin2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelin2011/subscriptions","organizations_url":"https://api.github.com/users/adelin2011/orgs","repos_url":"https://api.github.com/users/adelin2011/repos","events_url":"https://api.github.com/users/adelin2011/events{/privacy}","received_events_url":"https://api.github.com/users/adelin2011/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T00:30:47Z","updated_at":"2015-10-14T00:38:28Z","closed_at":null,"body":"I have this code and am lost on where I am going wrong. Can someone explain this to me? \r\n```js\r\nvar total = 0; \r\nvar limit = 10; \r\n\r\n\tfor (i = 0; i++, i< 10) {\r\n    limit += i;\r\n}\r\n\r\nconsole.log(total); \r\n```"},"comment":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/comments/147892403","html_url":"https://github.com/nodeschool/discussions/issues/1495#issuecomment-147892403","issue_url":"https://api.github.com/repos/nodeschool/discussions/issues/1495","id":147892403,"user":{"login":"SomeoneWeird","id":665754,"avatar_url":"https://avatars.githubusercontent.com/u/665754?v=3","gravatar_id":"","url":"https://api.github.com/users/SomeoneWeird","html_url":"https://github.com/SomeoneWeird","followers_url":"https://api.github.com/users/SomeoneWeird/followers","following_url":"https://api.github.com/users/SomeoneWeird/following{/other_user}","gists_url":"https://api.github.com/users/SomeoneWeird/gists{/gist_id}","starred_url":"https://api.github.com/users/SomeoneWeird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomeoneWeird/subscriptions","organizations_url":"https://api.github.com/users/SomeoneWeird/orgs","repos_url":"https://api.github.com/users/SomeoneWeird/repos","events_url":"https://api.github.com/users/SomeoneWeird/events{/privacy}","received_events_url":"https://api.github.com/users/SomeoneWeird/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T00:38:28Z","updated_at":"2015-10-14T00:38:28Z","body":"You're very close. You have the second and third argument for `for` the wrong way around. Also, you need to increment `total`, not `limit`."}}