{"comment":{"url":"https://api.github.com/repos/nk1tz/basic-javascript-workshop/comments/13190088","html_url":"https://github.com/nk1tz/basic-javascript-workshop/commit/6b520ed8d7e097c98612cc9dbb1a67bb5e82809d#commitcomment-13190088","id":13190088,"user":{"login":"ziad-saab","id":3943143,"avatar_url":"https://avatars.githubusercontent.com/u/3943143?v=3","gravatar_id":"","url":"https://api.github.com/users/ziad-saab","html_url":"https://github.com/ziad-saab","followers_url":"https://api.github.com/users/ziad-saab/followers","following_url":"https://api.github.com/users/ziad-saab/following{/other_user}","gists_url":"https://api.github.com/users/ziad-saab/gists{/gist_id}","starred_url":"https://api.github.com/users/ziad-saab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziad-saab/subscriptions","organizations_url":"https://api.github.com/users/ziad-saab/orgs","repos_url":"https://api.github.com/users/ziad-saab/repos","events_url":"https://api.github.com/users/ziad-saab/events{/privacy}","received_events_url":"https://api.github.com/users/ziad-saab/received_events","type":"User","site_admin":false},"position":25,"line":95,"path":"answers.js","commit_id":"6b520ed8d7e097c98612cc9dbb1a67bb5e82809d","created_at":"2015-09-11T19:19:47Z","updated_at":"2015-09-11T19:19:47Z","body":"Even though this is logically correct, I would have used:\r\n```\r\nif (str[i].length > longest)\r\n```\r\nhere. Why? Since we are looking for the longest word, it seems more intuitive to do a \"larger than\" comparison. What do you think?"}}