{"action":"created","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/980","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/980/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/980/events","html_url":"https://github.com/nodeschool/discussions/issues/980","id":60000316,"number":980,"title":"for-loop.js in nodeschool","user":{"login":"ChristopherVicini","id":9141118,"avatar_url":"https://avatars.githubusercontent.com/u/9141118?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristopherVicini","html_url":"https://github.com/ChristopherVicini","followers_url":"https://api.github.com/users/ChristopherVicini/followers","following_url":"https://api.github.com/users/ChristopherVicini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherVicini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherVicini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherVicini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherVicini/orgs","repos_url":"https://api.github.com/users/ChristopherVicini/repos","events_url":"https://api.github.com/users/ChristopherVicini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherVicini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodeschool/discussions/labels/javascripting","name":"javascripting","color":"006b75"},{"url":"https://api.github.com/repos/nodeschool/discussions/labels/waiting-for-feedback","name":"waiting-for-feedback","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-05T19:11:46Z","updated_at":"2015-03-15T19:43:41Z","closed_at":null,"body":"Hello, \r\n\r\nI can't seem to get past the for-loop.js exercise. Here is my code: \r\n\r\n```JavaScript\r\nvar total = 0;\r\nvar limit = 10;\r\n\r\nfor (var i = 0; i < 10; i++) {\r\n\ttotal += i;\r\n}\r\nconsole.log(i)\r\n```"},"comment":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/comments/81213439","html_url":"https://github.com/nodeschool/discussions/issues/980#issuecomment-81213439","issue_url":"https://api.github.com/repos/nodeschool/discussions/issues/980","id":81213439,"user":{"login":"nfowrs","id":11491379,"avatar_url":"https://avatars.githubusercontent.com/u/11491379?v=3","gravatar_id":"","url":"https://api.github.com/users/nfowrs","html_url":"https://github.com/nfowrs","followers_url":"https://api.github.com/users/nfowrs/followers","following_url":"https://api.github.com/users/nfowrs/following{/other_user}","gists_url":"https://api.github.com/users/nfowrs/gists{/gist_id}","starred_url":"https://api.github.com/users/nfowrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfowrs/subscriptions","organizations_url":"https://api.github.com/users/nfowrs/orgs","repos_url":"https://api.github.com/users/nfowrs/repos","events_url":"https://api.github.com/users/nfowrs/events{/privacy}","received_events_url":"https://api.github.com/users/nfowrs/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T19:43:41Z","updated_at":"2015-03-15T19:43:41Z","body":"yeah, I am having a similar issue. It keeps giving me this. 0123456789.\r\n I can not get it add tot he total.\r\n\r\nvar total = ' ';\r\nvar limit = '10';\r\nfor(var i = 0; i < limit; i++) {\r\n\t}\r\n\ttotal += i;\r\nconsole.log(total);"}}